【问题标题】:Execute Code First Migrations (runs on application start) option in Visual Studio 2010Visual Studio 2010 中的执行代码优先迁移(在应用程序启动时运行)选项
【发布时间】:2014-04-02 10:27:26
【问题描述】:

我正在尝试在 Visual Studio 2010 中使用 Code First 部署 MVC 应用程序。我能够在设置选项卡下的 visual studio 2012 中找到 Execute Code First Migrations (runs on application start) 复选框,如图所示:

我想在 Visual Studio 2010 中使用相同的选项。谁能帮我找到它?任何帮助将不胜感激。

【问题讨论】:

    标签: visual-studio-2010 entity-framework visual-studio-2012 entity-framework-migrations


    【解决方案1】:

    【讨论】:

    • 我们在 Visual Studio 2010 中没有相同的复选框选项吗?有没有什么方法可以避免写代码?
    • 看看第一个链接,你可能需要更新 VS 并安装最新的 Azure 工具
    猜你喜欢
    • 1970-01-01
    • 1970-01-01
    • 2013-04-18
    • 1970-01-01
    • 2014-11-05
    • 2020-09-09
    • 1970-01-01
    • 2021-04-29
    • 1970-01-01
    相关资源
    最近更新 更多