神刀安全网

Understanding Entity Framework?

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.

Understanding Entity Framework?

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.

Understanding Entity Framework?

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.

转载本站任何文章请注明:转载至神刀安全网,谢谢神刀安全网 » Understanding Entity Framework?

分享到:更多 ()

评论 抢沙发

  • 昵称 (必填)
  • 邮箱 (必填)
  • 网址
分享按钮