EDMX在哪里 [英] Where is the EDMX
问题描述
开始接触dotnet Core。在一个示例测试应用程序中,尝试在dotnet核心应用程序中设置EntityFramework.Core。虽然我能够添加EntityFramework.Core NugGet包,但找不到'Add'->'New Item'->'Data'->'ADO.NET Entity Data Model'
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屋!