ASP.NET MVC 核心 1.0 中的 ADO.NET 实体数据模型 (.edmx) [英] ADO.NET entity data model (.edmx) in ASP.NET MVC core 1.0

查看:18
本文介绍了ASP.NET MVC 核心 1.0 中的 ADO.NET 实体数据模型 (.edmx)的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有几个关于如何在 ASP.NET MVC 核心 1.0 应用程序中使用 ADO.NET 实体数据模型 (.edmx) 的问题-

I have couple of questions regarding how to use ADO.NET entity data model (.edmx) in ASP.NET MVC core 1.0 application-

  1. 由于我们正在将应用程序从 MVC 5 迁移到 MVC 核心 1.0,我们如何将 .edmx 从在 VS2013 中开发的 MVC5 应用程序迁移到 MVC 核心 1.0 新的 VS2015?

  1. As we are migrating application from MVC 5 to MVC core 1.0, how do we migrate .edmx from MVC5 application developed in VS2013 to MVC core 1.0 new VS2015?

如何在 VS2015 的 MVC 核心 1.0 应用程序中使用数据库优先方法创建新的 ADO.NET 实体数据模型 (.edmx)?[我已经尝试创建 POCO 模型,然后使用脚手架迁移命令,但想了解使用旧的向导方法]

How do I create new ADO.NET entity data model (.edmx) using Database First approach in MVC core 1.0 application in VS2015? [I have already tried creating POCO model and then use scaffold migration command, but want to understand using old wizard approach]

推荐答案

Entity Framework Core 不支持 ADO.NET 实体数据模型 (.edmx).微软在此解释如何移植

ADO.NET entity data model (.edmx) is not supported in Entity Framework Core. Microsoft explained here how to port it.

这篇关于ASP.NET MVC 核心 1.0 中的 ADO.NET 实体数据模型 (.edmx)的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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