BT

Your opinion matters! Please fill in the InfoQ Survey!

EF Power Tools Beta 2 Introduces New Tools and Improved EF5 Support

| by Jenni Konrad Follow 0 Followers on Apr 13, 2012. Estimated reading time: 1 minute |

A note to our readers: As per your request we have developed a set of features that allow you to reduce the noise, while not losing sight of anything that is important. Get email and web notifications by choosing the topics you are interested in.

Microsoft has announced a new release of EF Power Tools, which provide additional design-time tools for working with Entity Framework (EF).The ADO.NET team noted a few weeks ago that EF 5 had evolved quite a bit in the past 6 months, and that the Power Tools had fallen behind. EF Power Tools Beta 2 catches up by adding new tools to Visual Studio, as well as improved support for EF 5.

The new features can be found inside the Entity Framework context menus in Visual Studio. New items that appear when right-clicking on a C# project are:

  • Reverse Engineer Code First - generates Code First mappings for an existing database
  • Customize Reverse Engineer Templates - adds reverse engineer T4 templates

Options under the context menu for a derived DbContext class are as follows:

  • View Entity Data Model (Read Only) - displays a read-only Code First model
  • View Entity Data Model XML - shows the EDMX XML for the model
  • View Entity Data Model DDL SQL - shows the SQL to create the database in the model
  • Generate Views - builds pre-compiled views and adds them to the model (If the model changes, the views must be re-generated.)

There is also a new Generate Views menu item available when right-clicking on an .edmx file. Unlike the above option, it generates pre-compiled views for the Model-First or Database-First data model.

EF Power Tools Beta 2 is available via the extensions manager in Visual Studio, or can be downloaded from the Visual Studio Gallery. The tools are compatible with Visual Studio 2010 and EF 4.5 and later.

Rate this Article

Adoption Stage
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.

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

Login to InfoQ to interact with what matters most to you.


Recover your password...

Follow

Follow your favorite topics and editors

Quick overview of most important highlights in the industry and on the site.

Like

More signal, less noise

Build your own feed by choosing topics you want to read about and editors you want to hear from.

Notifications

Stay up-to-date

Set up your notifications and don't miss out on content that matters to you

BT