Today Soma announced the availability of Visual Studio 2015. Our team is concurrently working on EF6.x and EF7 versions of our product and both of them make an appearance in this release.
Entity Framework 6.1.3
EF6.1.3 is the latest stable version of Entity Framework and is the recommended version for production applications. EF6.1.3 is a patch release containing fixes for high priority issues that were reported on EF6.1.2.
Visual Studio 2015 includes Entity Framework 6.1.3 runtime and tooling.
- The runtime will be installed if you create a new model using the Entity Framework Tools in a project that does not already have the EF runtime installed.
- The runtime is pre-installed in new ASP.NET projects, depending on the project template you select.
- The EF6.1.3 Tools for Visual Studio 2015 are included to make sure you get the latest bug fixes and improvements.
You can read more about the specific fixes included in EF6.1.3 in our recent announcement post.
Entity Framework 7 Beta 5
EF7 will be the next major release of Entity Framework and it is currently in pre-release.
Still very much a preview
EF7 introduces some significant changes and improvements over EF6.x and therefore the pre-release phase of EF7 is much longer than other recent releases. If you decide to try out EF7 then please bear in mind that this preview is designed to give you an idea of what the experience will be like and there are still a number of limitations and missing features that will be addressed before RTM.
If you aren’t comfortable working with a prerelease that is still very much in-flux then don’t worry… there will be plenty of opportunity to try out pre-release EF7 once it is much more stable.
Beta 5 Platforms
You can use EF7 Beta 5 in the following types of applications.
- ASP.NET 5 applications that target either full .NET or the new .NET Core. EF7 is included in new ASP.NET 5 applications that are created using the “Web Site” project template.
- Full .NET applications (Console, WPF, WinForms, and ASP.NET 4) that target .NET 4.5.1 or later. We only recommend this for trying out EF7 in sample applications. If you are writing a production application then you should continue to use EF6.x. We do not recommend attempting to upgrade an EF6.x application to EF7 at this stage as there are still key features yet to be implemented on EF7 (such as inheritance support which is currently being implemented).
- Mac and Linux applications targeting Mono 3.12.1 or later. We have not done extensive testing of this scenario, but basic query and save functionality works.
- Universal Windows Platform is not supported in Beta 5 but it will be enabled in our upcoming Beta 6 release.
Beta 5 Databases
We have started writing documentation for EF7, which can be found at ef.readthedocs.org (the URL will change by the time we RTM). We have only made a modest start so far, but we will keep adding to the documentation as we progress toward RTM.
What’s implemented in Beta 5?
Most of our time since Beta 4 has been spent improving the features that were included in previous previews. Here is a list of the high level areas of functionality that work in Beta 5.
- Basic modeling including built-in conventions, table/column mapping, and relationships
- Change tracking
- LINQ queries
- Table based Insert/Update/Delete (including batching)
- Migrations and database creation/deletion
- Transactions (including automatic transactions during SaveChanges and explicit transaction APIs)
- Identity and Sequence patterns for database generated key values
- Raw SQL queries (DbSet.FromSql)
- An early preview of reverse engineering a model from a database
- Unique constraints including the ability to use them as keys in a relationship
What are we working on now?
Beta 6 is coming shortly and will include the following.
- Universal Windows Platform support
- SQLite provider
- SQL Server Compact Edition support (from Erik Jensen)
Most of our effort from now until our initial release will be on cross-cutting quality concerns.
- Bug fixing
- Performance tuning
- API reviews
There are a handful of features that we are implementing before our initial RTM.
- Universal Windows Platform support
- Cascade delete