Entity Framework版本曆史概覽

來源:互聯網
上載者:User

標籤:des   style   http   io   os   使用   ar   for   strong   

EF版本 .net framework和IDE版本 主要功能
EF(or EF3.5) Visual Studio 2008 SP1 (.NET 3.5 SP1) 基本的O/R映射支援,使用DB First開發模式
EF 4 Visual Studio 2010 (.NET 4.0) 支援POCO實體
消極式載入
提高單元測試能力
自訂的代碼產生機制
支援Model First開發模式
EF 4.1 NuGet 提供簡化的DbContext介面
支援Code First開發模式
EF 4.1.1 過渡版本 支援Power Tools工具
EF 4.2 過渡版本 解決bug並最佳化
EF 4.3 Visual Studio 2010 (.NET 4.0) 基於Code First開發模式的代碼遷移策略 Migrations
EF 4.3.1 Visual Studio 2012 (.NET 4.5) 提供對 LocalDb 資料庫的支援
EF 5 Visual Studio 2012 (.NET 4.5) 提供對枚舉類型的支援
Table-Valued functions資料表值函式
空間資料類型(spatial types)
整體效能最佳化提升
實體模型設計器、多圖模型
大量匯入預存程序
EF 6 Visual Studio 2013 (.NET 4.5) Power Tools加強
EF脫離Visual Studio和.NET通過NuGet單獨發布
可配置不穩定串連的重試次數等
支援.NET 4.5中基於Task的非同步編程模式 Async Query and Save
最佳化的配置選項 Code-Based Configuration
支援依賴注入和服務定位 Dependency Resolution
低級的EF攔截器及SQL日誌 Interception/SQL Loggin
使用Mock單元測試
using a mocking framework or writing your own test doubles
使用已有的DbConnection建立DbContext
提升事務支援 Improved Transaction Support 
最佳化LINQ to Entities查詢效能
最佳化(View Generation)效能
支援自訂實現Entity的Equals和GetHashCode方法
DBSet.AddRange/RemoveRange
DbChangeTracker.HasChanges
擴充的SqlFunctions,SqlCeFunctions
EF 6.0.1 Visual Studio 2013 (.NET 4.5) fix some performance issues during warm-up for EF models.
EF 6.0.2 Visual Studio 2013 (.NET 4.5) The tooling for Visual Studio 2012 and Visual Studio 2013 is
available on the Microsoft Download Center. You only need to
install the tooling if you want to use Model First or Database First
EF 6.1 Visual Studio 2013 (.NET 4.5)

Tooling consolidation provides a consistent way to create a new EF model. This feature extends the ADO.NET Entity Data Model wizard to support creating Code First models, including reverse engineering from an existing database. These features were previously available in Beta quality in the EF Power Tools.

Handling of transaction commit failures provides the CommitFailureHandler which makes use of the newly introduced ability to intercept transaction operations. The CommitFailureHandler allows automatic recovery from connection failures whilst committing a transaction

IndexAttributeallows indexes to be specified by placing an [Index] attribute on a property (or properties) in your Code First model. Code First will then create a corresponding index in the database

The public mapping API provides access to the information EF has on how properties and types are mapped to columns and tables in the database. In past releases this API was internal

Entity Framework版本曆史概覽

聯繫我們

該頁面正文內容均來源於網絡整理,並不代表阿里雲官方的觀點,該頁面所提到的產品和服務也與阿里云無關,如果該頁面內容對您造成了困擾,歡迎寫郵件給我們,收到郵件我們將在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.