Friday, March 7, 2014

Entity Framework

Entity Framework is an Object Relational Mapper (ORM). It basically generates business objects and entities according to the database tables and provides the mechanism for:
Performing basic CRUD (Create, Read, Update, Delete) operations.
Easily managing "1 to 1", "1 to many", and "many to many" relationships.
Ability to have inheritance relationships between entities.

What are the benefit using Entity Framework

We can have all data access logic written in higher level languages.
The conceptual model can be represented in a better way by using relationships among entities.
The underlying data store can be replaced without much overhead since all data access logic is present at a higher level.
This is not an alternative of but a Wrapper to ADO .Net.

No comments: