EDMX在哪里 [英] Where is the EDMX

查看:33
本文介绍了EDMX在哪里的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

接触 dotnet Core.在尝试在 dotnet 核心应用程序中设置 EntityFramework.Core 的示例测试应用程序中.虽然我能够添加 EntityFramework.Core NugGet 包,但我找不到添加"->新项目"->数据"->ADO.NET 实体数据模型"

Getting exposed to dotnet Core. In a sample test application trying to setup EntityFramework.Core in dotnet core app. While I was able to add the EntityFramework.Core NugGet package I can't find the 'Add'->'New Item'->'Data'->'ADO.NET Entity Data Model'

这对 EntityFramework.Core 来说是不可能的吗?

Is this not possible with EntityFramework.Core?

EntityFramework.Core 与 EntityFramework 7 有何不同?

How does EntityFramework.Core differ from EntityFramework 7?

推荐答案

Entity Framework Core 中没有 edmx 支持.它只支持代码优先的方法.将添加添加新实体数据模型的选项,但它会生成实体类文件而不是 edmx 文件.工具开发目前有点落后于框架开发.

There is no edmx support in Entity Framework Core. It only supports a code-first approach. The option to add a new Entity Data Model will be added, but it will produce entity class files instead of an edmx file. The tooling development is a little bit behind the framework development currently.

这篇关于EDMX在哪里的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆