Wednesday 30 March 2016

What is entity framework?

Entity Framework (EF) is an object –relational mapper that enables .NET developers to work with the relational data using domain specific objects. It eliminates the need for most of the data-access code that the developers usually need to write.

Using Entity Framework, developers issues queries using LINQ, then retrieves and manipulates data as strongly type objects.

Entity Framework is an Object/Relational Mapping (O/RM) framework. We can say that it is an enhancement of ADO.Net that gives developers an automated mechanism for accessing and storing the data in the database.

Entity Framework is useful in three scenarios:-
·         If you have already a existing database.
·         If you want to focus on your domain classes and then create a database from your domain class.
·         Design your schema on the visual designer and then create database and classes.
 

No comments:

Post a Comment

Note: only a member of this blog may post a comment.