一步一步体验 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到底有什么亮点呢?看看MS的MSDN怎么描述的:

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



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



添加EDM文件 对话框


 附件: 您所在的用户组无法下载或查看附件


 附件: 您所在的用户组无法下载或查看附件


 附件: 您所在的用户组无法下载或查看附件


 附件: 您所在的用户组无法下载或查看附件


 附件: 您所在的用户组无法下载或查看附件 




先了解了一下界面,

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


(文/alcome  出处/博客园)

 感谢原创者的辛勤劳动,希望对您有所帮助,转载请注明原出处。
 您可能对 [ADO.Net] 的这些文章也感兴趣:

ADO.NET2.0的十大新特性
ADO.NET实体框架已经准备好面向企业级应用了吗?
DataTable,DataView和DataGrid中一些容易混淆的概念
Datagrid导出当前页和全部页为EXCEL文件的解决方案
深入分析ADO.NET中的DataSet对象
DataTable.Select使用小心得
ADO.NET Entity Framework 体验:持久化
用VisualC#来增加数据记录
NET 连接池救生员
SQL存储过程在.NET数据库中的应用