This page provides a roadmap for Entity Framework. This is a planning document, not a specification of what is to come. We hope to implement most or all of the features listed here, but there are no guarantees. Plans can change. You can help change them!
Please visit the Entity Framework UserVoice site to provide feedback on our plans so that we have a better picture of what you want to see in the next release.
Entity Framework 6
EF6 will be the next major release of Entity Framework. The open source repository will be used to ship EF6 and future releases.
Here are the major features that we plan to include in the EF6 release. For more details on these features, and other smaller features that we introduce, see the
Feature Specifications page.
- Async Query and Save - Supports the task-based asynchronous patterns that were introduced in .NET 4.5.
- Custom Code First Conventions - Allows writing custom conventions for Code First to help avoid repetitive configuration.
- Code First Mapping to Insert/Update/Delete Stored Procedures – Enables mapping to stored procs for insert, update and delete operations using the Code First APIs.
- Connection Resiliency – Allows database operations to be re-tried if the connection is lost.
- Dependency Resolution - Supports the Service Locator pattern including factoring out some pieces of EF functionality that can be replaced with custom implementations.
- Code-Based Configuration - Configuration has traditionally been specified in a config file, EF6 will give you the option of performing configuration in code.
- Configurable Migrations History Table - Some database providers require the appropriate data types etc. to be specified for the Migrations History table to work correctly.
- Multiple Contexts per Database - In previous versions of EF you were limited to one Code First model per database when using Migrations, this limitation will be removed in EF6.
- Tooling Consolidation – Combining the EF Power Tools and the EF Designer to provide a single set of tooling with a single wizard for creating new models.
- Enums, Spatial and Better Performance on .NET 4.0 - By moving the core components that used to be in the .NET Framework into the EF NuGet package we are now able to offer enum support, spatial data types and the performance improvements
from EF5 on .NET 4.0.
Entity Framework 5
The EF5 release is available on NuGet
and introduces the following new features:
- Enum support allows you to have enum properties in your entity classes. This new feature is available for Model, Database and Code First.
- Table-valued functions in your database can now be used with Database First.
- Spatial data types can now be exposed in your model using the DbGeography and DbGeometry types. Spatial data is supported in Model, Database and Code First.
- A number of performance enhancements.
The following new features are also available in the Entity Framework Designer in Visual Studio 2012:
- Multiple-diagrams per model allows you to have several diagrams that visualize subsections of your overall model.
- Batch import of stored procedures allows multiple stored procedures to be added to the model during model creation.