一步一步体验 ADO.NET Entity Framework:第一步:认识ADO.NET Entity Framework

 

    ADO.NET Entity Framework出来已经有一段时间了,虽然我一直在关注这个架构,但由于比较忙,加之没有看到发布正式版本而没有花时间去更深入的了解它,vs2008 sp1发布后,ADO.NET Entity Framework已经直接和NET3.5SP1集成了,我想可能ADO.NET Entity Framework除了beta3外,应该不会再单独发布了,以后的版本应该和net framework的版本同步了。呵呵,个人观点不值得推敲。

   

    ADO.NET Entity Framework到底有什么亮点呢?看看MSMSDN怎么描述的:

The ADO.NET Entity Framework is designed to enable developers to create data access applications by programming against a conceptual application model instead of programming directly against a relational storage schema. The goal is to decrease the amount of code and maintenance required for data-oriented applications. Entity Framework applications provide the following benefits:

·         Applications can work in terms of a more application-centric conceptual model, including types with inheritance, complex members, and relationships.

·         Applications are freed from hard-coded dependencies on a particular data engine or storage schema.

·         Mappings between the conceptual model and the storage-specific schema can change without changing the application code.

·         Developers can work with a consistent application object model that can be mapped to various storage schemas, possibly implemented in different database management systems.

·         Multiple conceptual models can be mapped to a single storage schema.

·         Language-integrated query support provides compile-time syntax validation for queries against a conceptual model.

我得E文太烂了,怕理解错了意思,就直接把MSDNE文搬上来啦,中文的还是等MSDN的官方翻译吧,我觉得这几大特性很是吸引眼球哦。

 

我们看看VS2008 sp1里是怎样支持ADO.NET Entity Framework的呢?

 

添加EDM文件 对话框

  

 

 

 

 

 

 

 

 

先了解了一下界面,

面的慢慢再来.......

 

 

 

 

 

posted @   瘦山鸿  阅读(8994)  评论(33编辑  收藏  举报
编辑推荐:
· .NET Core 中如何实现缓存的预热?
· 从 HTTP 原因短语缺失研究 HTTP/2 和 HTTP/3 的设计差异
· AI与.NET技术实操系列:向量存储与相似性搜索在 .NET 中的实现
· 基于Microsoft.Extensions.AI核心库实现RAG应用
· Linux系列:如何用heaptrack跟踪.NET程序的非托管内存泄露
阅读排行:
· TypeScript + Deepseek 打造卜卦网站:技术与玄学的结合
· 阿里巴巴 QwQ-32B真的超越了 DeepSeek R-1吗?
· 【译】Visual Studio 中新的强大生产力特性
· 10年+ .NET Coder 心语 ── 封装的思维:从隐藏、稳定开始理解其本质意义
· 【设计模式】告别冗长if-else语句:使用策略模式优化代码结构
点击右上角即可分享
微信分享提示