Tracy.Bai

Focus on Data analysis and Mining

导航

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

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.

posted on 2008-10-12 22:37  Love Fendi  阅读(188)  评论(0编辑  收藏  举报