Introduction

The latest version of Entity Framework is now released. In this article I am describing the features of Entity Framework 6 in brief. When the Alpha 3 versionwas released Microsoft had been working hard on adding the remaining features to the EF6 runtime. So now the Entity Framework Beta 1 version is released. The new version of Entity Framework is being developed under an open-source license. One more important news you need to notice is that the EF6 and above will not be shipped as part of the .NET Framework. This has many advantages. It means that Entity Framework providers for EF5 and previous versions will not work with this latest version until they have been rebuilt.

In that context, I am describing some important things that are useful for you.

Migration of EF6 Alpha 1-3

If you want to migrate EF6 then you need to recreate the migration. You need to recreate the migration that was created when the previous version of Entity Framework 5 was installed. This is necessary because some changes were made to the metadata stored in the code behind. If you want to recreate migrations then you need to download the latest migration created with EF5 or earlier. For this you need to delete the migration from the migration folder that was created with EF6 and then you go to Add-Migration to re-scaffold the changes.

Providers for EF6

There are the following providers that have been rebuilt for EF6:

Installation of Beta 1

The EF6 Beta 1 version is available on the NuGet Gallery. You do not need to install the tooling if you want to work in the Code-First approach. If you want to install the tooling, it is available in the Microsoft Download Center that will work with Visual Studio 2012.

Changes in EF6

Some of the changes compared with Alpha 3 are:

Entity Framework 6 New Features

The following are the new features introduced in EF6:

What's the Next?

Now, you know that the Beta 1 version of the Entity Framework latest version of EF6 is released. So now Microsoft is planning to release the final version and the main focus is how to polish and complete these features. Microsoft has used everything, like fixing bugs, to make EF6 a great release.

Summary

So far you read that the latest version of Entity Framework is released which is the Beta 1 version of EF6 and the changes made in the Alpha 3. The new features included in this Beta 1 version and Microsoft is also planning for the final release of EF6. So just read and get some information about the new EF6 Beta 1 version.