BT

InfoQ Homepage News New Releases of Entity Framework Include First Look at EF 5

New Releases of Entity Framework Include First Look at EF 5

Bookmarks

This week's Visual Studio 11 Beta release was quickly followed by the new Entity Framework (EF) 5 Beta 1, which has been awaiting several features only supported in .NET Framework 4.5. Microsoft also announced the release of EF 4.3.1, which includes fixes to the recent release that introduced Code First Migrations.

Entity Framework's most frequently requested feature, Enum support, is available in EF 5. Other additions include Table-Valued Functions and the Spatial datatype. (These three items are dependent on functionality introduced in .NET Framework 4.5). Microsoft says that the changes they made to enhance overall performance, such as auto-compilation of LINQ-to-Entities queries, are also in this release.

Since Visual Studio 11 Beta uses LocalDB instead of SQLEXPRESS, the EF 5 installer will check to see which database is in use, and configure that as the default server. LocalDB is the default unless SQLEXPRESS is running during installation. There are a few enhancements to the Entity Model Designer in Visual Studio 11 as well, such as the addition of multi-diagram models.

EF 4.3.1 is a full release that includes several fixes and improved error reporting. Like EF 5, it also now supports LocalDB as well as SQLEXPRESS.

EF 5 is available as a NuGet package, and requires Visual Studio 2011 Beta. EF 4.3.1 is also available from NuGet.

Have you had a chance to try out EF 5? Please let us know in the comments.

Rate this Article

Adoption
Style

Hello stranger!

You need to Register an InfoQ account or or login to post comments. But there's so much more behind being registered.

Get the most out of the InfoQ experience.

Allowed html: a,b,br,blockquote,i,li,pre,u,ul,p

Community comments

Allowed html: a,b,br,blockquote,i,li,pre,u,ul,p

Allowed html: a,b,br,blockquote,i,li,pre,u,ul,p

BT

Is your profile up-to-date? Please take a moment to review and update.

Note: If updating/changing your email, a validation request will be sent

Company name:
Company role:
Company size:
Country/Zone:
State/Province/Region:
You will be sent an email to validate the new email address. This pop-up will close itself in a few moments.