Entity framework is an Object/Relational Mapping (O/RM) framework. It
is an enhancement to ADO.NET that gives developers an automated
mechanism for accessing & storing the data in the database and
working with the results in addition to DataReader and DataSet.
what is O/RM framework and why do we need it?
ORM is a tool for storing data from domain objects to relational
database like MS SQL Server in an automated way without much
programming.
O/RM includes three main parts: Domain class objects, Relational
database objects and Mapping
information on how domain objects maps to relational database objects
(tables, views & stored procedures).
ORM helps us to keep our database design separate from our domain class
design. This makes application
maintainable and extendable. It also automates standard CRUD operation
(Create, Read, Update & Delete)
so developer doesn’t need to write it manually.
There are many ORM frameworks for .net in the market like
DataObjects.Net, NHibernate, OpenAccess, SubSonic etc. ADO.NET Entity
Framework is from Microsoft.
No comments:
Post a Comment