BT

New Releases of Entity Framework Include First Look at EF 5

by Jenni Konrad on Mar 04, 2012 |

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.

Hello stranger!

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

Get the most out of the InfoQ experience.

Tell us what you think

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

Email me replies to any of my messages in this thread
Community comments

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

Email me replies to any of my messages in this thread

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

Email me replies to any of my messages in this thread

Discuss

Educational Content

General Feedback
Bugs
Advertising
Editorial
InfoQ.com and all content copyright © 2006-2013 C4Media Inc. InfoQ.com hosted at Contegix, the best ISP we've ever worked with.
Privacy policy
BT