Entity Framework 6.0

EF enums and spatial types on .NET 4

In EF5 some features (such as enums and spatial types) are only available when targeting .NET 4.5. This is because EF5 relies on core EF libraries in the .NET Framework. With EF6 this changes because the core EF code is now included in EntityFramework.dll and recent commits to the code make all EF features (except async) available on .NET 4. This includes enums, spatial support, TVFs, auto-compiled queries and other EF perf improvements, together with many smaller changes/bug fixes in the core code.

How do I get it?

At the time of writing EF6 is still being developed but you can easily get prerelease builds in two ways:

What else do I need to know?

There are a few things you should keep in mind when using EF6:
This page is up-to-date as of October 5th, 2012. Some things change. Some things stay the same. Use your noggin.