Entity Framework is an ORM framework. ORM stands for Object Relational Mapping.
Definition as per Microsoft:
The Microsoft ADO.NET Entity Framework is an Object/Relational Mapping (ORM) framework that enables developers to work with relational data as domain-specific objects, eliminating the need for most of the data access plumbing code that developers usually need to write. Using the Entity Framework, developers issue queries using LINQ, then retrieve and manipulate data as strongly typed objects. The Entity Framework’s ORM implementation provides services like change tracking, identity resolution, lazy loading, and query translation so that developers can focus on their application-specific business logic rather than the data access fundamentals.
So Entity Framework is an enhancement to ADO.NET that gives developers an automated mechanism for accessing and storing the data in the database.
What is ORM?
Object Relational Mapping framework automatically creates classes based on database tables and vice versa.
Also ORM can generate necessary SQL to create Database tables based on classes.
There are many ORM frameworks for .net in the market such as DataObjects.Net, NHibernate, OpenAccess, SubSonic etc. Entity Framework is an open source ORM framework from Microsoft.
Thanks for visiting !!
© 2016,admin. All rights reserved.