【问题标题】:Cannot create Ado.net entity data model in visual studio无法在 Visual Studio 中创建 Ado.net 实体数据模型
【发布时间】:2019-12-19 14:41:31
【问题描述】:

我无法在 Visual Studio Community 2019 的 mvc .netcore 应用程序中创建 Ado.net 实体数据模型

我在安装程序中安装了这些工具,并将 EntityFramework 作为一个包安装

This is how it looks for me

This is what i want

【问题讨论】:

    标签: asp.net-mvc visual-studio asp.net-core entity-framework-6


    【解决方案1】:

    .NET 核心本质上取消了生成实体数据模型的 GUI 方法。您需要利用 EFCore 的 powershell 命令。例如,如果您已经有一个数据库,您将需要查看 Scaffold 选项来生成您的模型。

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 1970-01-01
      • 2014-01-31
      • 2014-05-27
      • 1970-01-01
      • 1970-01-01
      • 2012-10-07
      • 2018-01-11
      • 2015-12-02
      相关资源
      最近更新 更多