linq in Action学习笔记(实体框架)

本文介绍了ADO.NET Entity Framework(EF)的技术细节,包括如何通过XML文件将物理数据库映射到逻辑模型,以及如何进一步从逻辑模型映射到概念模型。EF使用了多种XML语言来定义这些映射关系。

At the same time that the language teams were designing LINQ, the Microsoft
data teams were working on implementing this conceptual model to handle these

more complex entity structures. They are calling this technology the ADO.NET
Entity Framework (EF). The EF separates the physical from the logical models by
using a series of XML-based mapping files (see figure 8.10).

In the EF, the physical database is mapped to a logical model using a one-toone
relationship between the tables and logical layer entities. The logical entities
are defined through an XML-based Store Schema Definition Language (SSDL)
file. These mappings are similar to those we defined in LINQ to SQL.
The EF moves beyond LINQ to SQL by using another XML-based file (Mapping
Schema Language or MSL) to map the logical model to a conceptual model. The
conceptual model is yet another XML file using a Conceptual Schema Definition
Language (CSDL). These conceptual entities can be further converted into
strongly typed objects if desired.

转载于:https://www.cnblogs.com/baixingfa/archive/2008/10/12/1309581.html

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值