软件频道>程序开发>JavaVBVCDelphiC/C++Web开发微软专栏移动数据库程序人生软件工程|开发客
您现在的位置: 天极网 > 开发频道 > ADO.NET Beta2之LINQ to Entitits
全文

ADO.NET Beta2之LINQ to Entitits

2008-05-13 18:27作者: 徐少侠 出处:天极网责任编辑:dizzarz

      Most applications are currently written on top of relational databases. At some point, these applications will have to interact with the data represented in a relational form. Database schemas are not always ideal for building applications, and the conceptual models of applications differ from the logical models of databases. The Entity Data Model (EDM) is a conceptual data model that can be used to model the data of a particular domain so that applications can interact with data as entities or objects. For more information, see Entity Data Model.

      许多应用程序经常基于一个关系型数据库来编写。在有些时候,这些应用程序将不得不和以关系方式提供的数据相比配。在编写应用程序时,数据架构通常不是一下子就很理想的,并且应用程序的概念模型和数据库的逻辑逻辑模型是不一致的。实体数据模型(EDM)是一种概念数据模型,能被用来对特定的领域进行数据建模。因此应用程序能和作为实体或对向的数据相匹配。更多信息请参考实体数据模型

      Through the EDM, ADO.NET exposes entities as objects in the .NET environment. This makes the object layer an ideal target for Language-Integrated Query (LINQ) support. Therefore, LINQ to ADO.NET includes LINQ to Entities. LINQ to Entities enables developers to write queries against the database from the same language used to build the business logic. The following diagram shows the relationship between LINQ to Entities and the Entity Framework, ADO.NET 2.0, and the data store.

      通过使用EDM,ADO.NET在 .net 环境中以对象的方式公开实体。这使得对象层成为集成语言查询(LINQ)的一个理想的操作目标。因此,ADO.net-LINQ 包括了实体LINQ。实体LINQ支持开发人员使用和编写业务逻辑相同的语言来编写基于数据库的查询。下图展示了实体LINQ、实体框架、ADO.NET 2.0以及数据库之间的关系

LinqToEntity



      For LINQ to Entities sample applications, see Data Access and Storage. For information about late breaking changes in the ADO.NET Entity Framework and LINQ to Entities, see the ADO.NET team blog.

     实体LINQ的样例应用程序,请参考 数据访问和存储。更多有关ADO.NET实体框架以及实体LINQ的最新信息请参考 ADO.NET团队博客

In This Section/本节目录

Getting Started (LINQ to Entities)/入门(实体LINQ)

Programming Guide (LINQ to Entities)/编程指南(实体LINQ)

Reference (LINQ to Entities)/参考(实体LINQ)

See Also/请参考

Other Resources/其他资源

Language-Integrated Query (LINQ)
LINQ to ADO.NET

ADO.NET Entity Framework/ADO.NET 实体框架
相关搜索:
关注此文读者还看过
文章排行
本周
本月
最近更新
关于我们|About us|网站律师|天极服务|电子杂志|RSS订阅|加入我们|网站地图
TMG
Copyright (C) 1999-2009 Chinabyte.com, All Rights Reserved 版权所有 天极网络
商务联系、网站内容、合作建议:010-82657868
版权声明 在线提交意见反馈 渝ICP证B2-20030003号
经营性网站备案信息 网警备案 中国网站排名
天极传媒:天极网|比特网|IT专家网|IT商网|52PK游戏网|IT分众