Free Hit Counters
http://www.dellasdeals.com

[翻译]ADO.NET Entity Framework Beta2(四)/实体LINQ

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 实体框架

posted @   徐少侠  阅读(2445)  评论(3编辑  收藏  举报
编辑推荐:
· 如何编写易于单元测试的代码
· 10年+ .NET Coder 心语,封装的思维:从隐藏、稳定开始理解其本质意义
· .NET Core 中如何实现缓存的预热?
· 从 HTTP 原因短语缺失研究 HTTP/2 和 HTTP/3 的设计差异
· AI与.NET技术实操系列:向量存储与相似性搜索在 .NET 中的实现
阅读排行:
· 周边上新:园子的第一款马克杯温暖上架
· Open-Sora 2.0 重磅开源!
· 分享 3 个 .NET 开源的文件压缩处理库,助力快速实现文件压缩解压功能!
· Ollama——大语言模型本地部署的极速利器
· [AI/GPT/综述] AI Agent的设计模式综述
作者:徐少侠 出处:http://www.cnblogs.com/Chinese-xu/

本文版权归作者和博客园共有,欢迎转载,但未经作者同意必须保留此段声明,且在文章页面明显位置给出原文连接,如有问题,可以通过 Chinese_Xu@126.com 联系我,非常感谢。

点击右上角即可分享
微信分享提示