Entity Framework Power Tools:
Entity Framework Power Tools (currently in Beta 3) has been released. EF Power Tools is useful mainly in reverse engineering and generating read-only Entity Data Model for Code-first.
Download and install Power Tools from Visualstudiogallery
After installing it, when your right click on the C # project, you can see the "Entity Framework" option in the context menu .
When right-clicking on a C # project, the following context menu functions is supported:
- Reverse Engineer code-first -generates POCO classes, derived DbContext and code-first mapping for an existing DA Tabase.
- Customize Reverse Engineer Templates -Adds The default Reverse Engineer T4 Templates to your project for editing .
When right-clicking on a file containing a derived DbContext class, the following context menu functions is supported:
- View Entity Data model (read-only) -Displays a read-only View of the Code-first model in the entity model Design Er.
- View Entity Data model XML -Displays the EDMX XML representing the underlying Code-first Model.
- View Entity Data Model DDL SQL -Displays the DDL SQL corresponding to the SSDL in the underlying EDM Model.
- Generate views-generates pre-compiled views used by the EF runtime to improve start-up performance. Adds the generated views file to the containing project.
When right-clicking on a Entity Data Model (*.edmx) file, the following context menu function is supported:
- Generate views-generates pre-compiled views used by the EF runtime to improve start-up performance. Adds the generated views file to the containing project.
Visit MSDN for a step-by-step demonstration of the "that" you can accomplish with the EF Power Tools.
Entity Framework Code-first: Entity Framework Power Tools