Visual Studio 中没有 ado.net 实体数据模型 [英] there is no ado.net entity data model in visual studio

查看:105
本文介绍了Visual Studio 中没有 ado.net 实体数据模型的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

安装 Visual Studio 2013 并创建一个新的 MVC4 Internet 应用程序项目后:当我单击添加-> 新项目-> 时,Visual Studio 没有 Ado.net 实体数据模型为什么?我重新安装了它,但没有任何变化......

解决方案

这是我发现的更新解决方案,因为我在 Visual Studio 2015 中遇到了同样的问题:用于 db 的 ado.net 模型已消失 Visual Studio 2015

释义:更改 Visual Studio 2015 的安装并包含 Microsoft SQL Server Data Tools(通过控制面板 > 程序和功能 > VS2015 > 更改 > 修改 > Windows 和 Web 开发 > Microsoft SQL Server Data Tools).

下载扩展并重新启动 Visual Studio 后,您应该能够将 ADO.NET 实体数据模型添加为新项目.

当我努力学习旧版 Visual Studio 教程时,尝试使用视图">其他 Windows">数据源"等方法并没有做同样的事情.

After installed Visual Studio 2013 and create a new MVC4 internet application project : Visual Studio Doesn't have Ado.net Entity Data Model when i click on add->new item-> Why? I reinstall it but ther is no change ...

解决方案

Here's an updated solution I found as I had the same problem with Visual Studio 2015: ado.net model for db is gone Visual studio 2015

Paraphrasing: Change your installation of Visual Studio 2015 and include the Microsoft SQL Server Data Tools (via Control Panel > Program & Features > VS2015 > Change > Modify > Windows and Web Development > Microsoft SQL Server Data Tools).

After downloading the extension and restarting Visual Studio, you should be able to add ADO.NET Entity Data Model as a new item.

As I learned the hard way trying to follow older Visual Studio tutorials, trying to use View > Other Windows > Data Sources etc. doesn't do the same thing.

这篇关于Visual Studio 中没有 ado.net 实体数据模型的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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