Entity Framework Code-First(23):Entity Framework Power Tools

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 you 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 are supported:

  • Reverse Engineer Code-First - Generates POCO classes, derived DbContext and Code-First mapping for an existing database.
  • Customize Reverse Engineer Templates - Adds the default reverse engineer T4 templates to your project for editing.

automated migration in Code-First

When right-clicking on a file containing a derived DbContext class, the following context menu functions are supported:

  • View Entity Data Model (Read-only) - Displays a read-only view of the Code-First model in the Entity Model Designer.
  • 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.

automated migration in Code-First

When right-clicking on an 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.

automated migration in Code-First

Visit MSDN for a step-by-step demonstration of the tasks that you can accomplish with the EF Power Tools.

转载于:https://www.cnblogs.com/purplefox2008/p/5644393.html

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值