The article provides a quick guide to understanding Entity Framework.
Why Entity Framework?
Entity Framework is an ORM layer which implements the Unit of Work pattern. The library keeps a track of all changes made to database entities. It saves all changes in a single transaction.
DbContext
class keeps track of the entities. The SaveChanges
method saves multiple updates in a single transaction.…