Transferred from: http://www.cnblogs.com/fecktty2013/archive/2014/09/26/entityframework-overview.html
| EF version |
. NET Framework and IDE versions |
Key Features |
| EF (or EF3.5) |
Visual Studio SP1 (. NET 3.5 SP1) |
Basic O/R mapping support, using DB first development mode |
| EF 4 |
Visual Studio (. NET 4.0) |
Support for POCO entities Lazy Loading Improve unit testing capabilities A custom code generation mechanism Support Model First development model |
| EF 4.1 |
NuGet |
Provides a simplified DbContext interface Support for code First development mode |
| EF 4.1.1 |
Transition version |
Support for power tools tools |
| EF 4.2 |
Transition version |
Fix bugs and optimize |
| EF 4.3 |
Visual Studio (. NET 4.0) |
Code first development mode-based migration strategy migrations |
| EF 4.3.1 |
Visual Studio (. NET 4.5) |
Provides support for the LOCALDB database |
| EF 5 |
Visual Studio (. NET 4.5) |
Provides support for enumeration types table-valued functions Table-valued functions Spatial data type (spatial types) Overall performance optimization improvement Entity Model Designer, multi-graph model Bulk import of stored procedures |
| EF 6 |
Visual Studio (. NET 4.5) |
Power Tools Strengthens EF released separately from Visual Studio and. NET through NuGet Configurable number of retries for unstable connections, etc. Support for task-based asynchronous programming patterns in. NET 4.5 Async Query and Save Optimized configuration options code-based Config Support for dependency injection and service positioning Dependency Resolution Low-level EF interceptor and SQL log Interception/sql Loggin Using mock unit Tests Using a mocking framework or writing your own test doubles Create DbContext with existing DbConnection improved Transaction support for enhanced transactions optimizing LINQ to Entities query performance Optimization (View Generation) performance Support for customizing the Equals and GetHashCode methods for implementing entity Dbset.addrange/removerange Dbchangetracker.haschanges Extended Sqlfunctions,sqlcefunctions |
| EF 6.0.1 |
Visual Studio (. NET 4.5) |
Fix some performance issues during warm-up for EF models. |
| EF 6.0.2 |
Visual Studio (. NET 4.5) |
The tooling for Visual Studio and Visual Studio Available on the Microsoft Download Center. Need to Install the tooling if want to use Model first or Database first |
| EF 6.1 |
Visual Studio (. NET 4.5) |
Tooling Consolidation provides a consistent to create a new EF model. This feature extends the ADO Entity Data Model Wizard to support creating Code first models, including reverse Enginee Ring 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 being specified by placing an [Index] attribute on a property (or properties) in R Code First model. Code first would then create a corresponding index in the database The public mapping API provides access to the information EF have on how properties and types is mapped to column s and tables in the database. In past releases the This API is internal |
Entity Framework Version History overview