Click here to Skip to main content
65,938 articles
CodeProject is changing. Read more.
Articles
(untagged)

Entity framework

0.00/5 (No votes)
19 Jan 2011 1  
What is Entity Framework?ADO.NET Entity Framework is an object-relational mapping (ORM) framework for the .NET Framework. Basically it represents the

This articles was originally at wiki.asp.net but has now been given a new home on CodeProject. Editing rights for this article has been set at Bronze or above, so please go in and edit and update this article to keep it fresh and relevant.

What is Entity Framework?

ADO.NET Entity Framework is an object-relational mapping (ORM) framework for the .NET Framework. Basically it represents the relational (logical) schema of the data that is stored in a database and presents its conceptual schema to the application.


In relational schema the attribute of the table is hardcoded into application. This is the major disadvantge of this,if you change the schema you also need to change your application.


To avoid this problem, Entity framework is maintaining the mapping of logical schema into the physical schema that defines how the data is structured and stored on the disk. The job of the database system and client side data access mechanisms are shielded from it as the database exposes the data in the way specified by its logical schema.

Microsoft released first version of Entity Framework was included with .NET Framework 3.5 Service Pack 1 and Visual Studio 2008 Service Pack 1, released on 11 August 2008.

The second version of Entity Framework was released as part of .NET 4.0 on 12th April 2010.

For more details:

http://msdn.microsoft.com/en-us/library/aa697427%28VS.80%29.aspx#ado.netenfrmovw_topic4

License

This article has no explicit license attached to it but may contain usage terms in the article text or the download files themselves. If in doubt please contact the author via the discussion board below.

A list of licenses authors might use can be found here