本文介绍了ADO.NET实体数据模型缺少的Visual Studio 2015年社区的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我开始新的ASP.NET 5 preVIEW模板与客户端的发展发挥。

I am starting a new ASP.NET 5 Preview template to play with client side development.

我有一个数据库(MS SQL),我想使用Web API和访问实体框架。

I have a database ( MS SQL ) that I want to access using the Web API and Entity Framework.

在我的模式文件夹我不喜欢我习惯做的,添加一个新的项目,我想补充的 ADO.NET实体数据型号,但它是不存在的。

In my Models folder I do like I am used to do, add a new item and I want to add the ADO.NET Entity Data Model but it isn't there.

我是什么在这里失踪?

更新

这是我看到的,当我尝试新的项目添加到项目中的唯一的事。
客户端和服务器端。

This is the only thing I see when I try to add a new item to the project.Client side and server side.

推荐答案

大量的调查研究后,我发现有一些兼容性问题,其中来自微软最近移植到开源世界(自Asp.net5)的我从 MSDN文章。阅读完整的文章吧。

After a lot of research, I found out that there are some compatibility issues where come from the recent Microsoft migration to open source world (since Asp.net5) that I obtained from Data Points - The EF6, EF7 and ASP.NET 5 Soup MSDN Article. Read the full article please.

所以如果您想同时拥有EF6和Asp.net5,考虑到文章的提示。如果你不使用Asp.net5坚持,只需使用Asp.net4.5(下图),它具有的 Ado.net数据模型的中的添加新项的对话(我测试了它的可用性与我的Visual Studio企业)。

So if you wanna have both EF6 and Asp.net5, consider the article tips. And if you don't persist in using Asp.net5, simply use Asp.net4.5 (following image) which have Ado.net Data Model in Add New Item dialog (I tested its availability with my Visual Studio Enterprise).

这篇关于ADO.NET实体数据模型缺少的Visual Studio 2015年社区的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

08-04 05:34
查看更多