【问题标题】:Is there an automated way to update an entity model with the Entity Framework?是否有使用实体框架更新实体模型的自动化方法?
【发布时间】:2011-04-12 20:40:29
【问题描述】:

目前看来,大家所能做的就是从 Visual Studio 中手动更新它,重新编译程序集,然后部署。这是唯一的方法吗?还是有更简单、自动化的方法?

【问题讨论】:

    标签: .net sql-server entity-framework auto-update


    【解决方案1】:

    您可以在 Visual Studio 之外使用 EDM Generator 来生成部分或全部模型(存储、映射和/或类)。如果您从装配体外部存储模型,请确保相应地更新您的connection string

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2023-04-06
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      相关资源
      最近更新 更多