Guide to Entity Framework with



Download 11,91 Mb.
Pdf ko'rish
bet17/48
Sana30.03.2022
Hajmi11,91 Mb.
#517122
TuriGuide
1   ...   13   14   15   16   17   18   19   20   ...   48
Bog'liq
Entity Framework Tutorial, Second Edition (1)

[
 4 
]
Here's exactly where an
ORM fits in. The figure given next shows how objects in 
an application can be mapped to the relational store by using a mapping layer. 
This mapping layer is provided by the ORM. An ORM is a method of representing 
the relational tables as entities in the object world. ORMs came onto the market to 
provide you with a framework using which you can connect your applications to the 
underlying database without having to write much code. Most importantly, you can 
use ORMs to connect to any database, increase development productivity, ensure 
database independence, and database portability.
Objects in
Memory
Object
Object
Object
Object
Object
Object
Object
Object
Object
Mapping Logic
Relational Database
O/R Mapping


Chapter 1
[
 5 
]
To bridge this apparent mismatch between the data and the object models, ORM 
tools have evolved. They are used to reduce the code required to transform your 
application's business objects into a form that can be persisted into the relational 
store and vice-versa.
ORM
Database
Read( )
Write( )
Objects B
Read( )
Write( )
Objects A
Microsoft first released its ORM by the name of 
LINQ to SQL, which shipped with 
.NET Framework 3.5 and Visual Studio 2008. However, LINQ to SQL was restricted 
to working with SQL Server databases only. Entity Framework is an attempt by 
Microsoft to provide you with an extended ORM built on top of the ADO.NET 
provider model and enable you to connect to and work with any database.
What is the ADO.NET Entity Framework?
Entity Framework is a type of ORM. It is a development platform that provides a 
layer of abstraction on top of the relational or logical model. In doing so, it isolates 
the object model of the application from the way the data is actually stored in the 
relational store. Developers can use the ADO.NET Entity Framework to program 
against an object model rather than the logical or relationship model. 


Introducing the ADO.NET Entity Framework

Download 11,91 Mb.

Do'stlaringiz bilan baham:
1   ...   13   14   15   16   17   18   19   20   ...   48




Ma'lumotlar bazasi mualliflik huquqi bilan himoyalangan ©hozir.org 2024
ma'muriyatiga murojaat qiling

kiriting | ro'yxatdan o'tish
    Bosh sahifa
юртда тантана
Боғда битган
Бугун юртда
Эшитганлар жилманглар
Эшитмадим деманглар
битган бодомлар
Yangiariq tumani
qitish marakazi
Raqamli texnologiyalar
ilishida muhokamadan
tasdiqqa tavsiya
tavsiya etilgan
iqtisodiyot kafedrasi
steiermarkischen landesregierung
asarlaringizni yuboring
o'zingizning asarlaringizni
Iltimos faqat
faqat o'zingizning
steierm rkischen
landesregierung fachabteilung
rkischen landesregierung
hamshira loyihasi
loyihasi mavsum
faolyatining oqibatlari
asosiy adabiyotlar
fakulteti ahborot
ahborot havfsizligi
havfsizligi kafedrasi
fanidan bo’yicha
fakulteti iqtisodiyot
boshqaruv fakulteti
chiqarishda boshqaruv
ishlab chiqarishda
iqtisodiyot fakultet
multiservis tarmoqlari
fanidan asosiy
Uzbek fanidan
mavzulari potok
asosidagi multiservis
'aliyyil a'ziym
billahil 'aliyyil
illaa billahil
quvvata illaa
falah' deganida
Kompyuter savodxonligi
bo’yicha mustaqil
'alal falah'
Hayya 'alal
'alas soloh
Hayya 'alas
mavsum boyicha


yuklab olish