一步一步體驗 ADO.NET Entity Framework:第一步:認識ADO.NET Entity Framework

來源:互聯網
上載者:User

 

    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檔案 對話方塊

  

 

 

 

 

 

 

 

 

先瞭解了一下介面,

後面的慢慢再來.......

 

 

 

 

 

聯繫我們

該頁面正文內容均來源於網絡整理,並不代表阿里雲官方的觀點,該頁面所提到的產品和服務也與阿里云無關,如果該頁面內容對您造成了困擾,歡迎寫郵件給我們,收到郵件我們將在5個工作日內處理。

如果您發現本社區中有涉嫌抄襲的內容,歡迎發送郵件至: info-contact@alibabacloud.com 進行舉報並提供相關證據,工作人員會在 5 個工作天內聯絡您,一經查實,本站將立刻刪除涉嫌侵權內容。

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.