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檔案 對話方塊
先瞭解了一下介面,
後面的慢慢再來.......