一步一步体验 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 @ 2008-08-15 05:34  瘦山鸿  阅读(8990)  评论(33编辑  收藏  举报