用于 db 的 ado.net 模型消失了 Visual Studio 2015 [英] ado.net model for db is gone Visual studio 2015

查看:18
本文介绍了用于 db 的 ado.net 模型消失了 Visual Studio 2015的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

安装社区版 Visual Studio 2015 后,我的数据库连接器 ADO.net 模型遇到了问题.我通常使用 EF 5 或 6 连接到它,具体取决于我使用的是 MYSQL 还是 SQL Server.

After installing the community version of Visual Studio 2015, I've run into a problem with my database connector, the ADO.net model. I usually connect to that with EF 5 or 6 depending on whether I'm using MYSQL or SQL Server.

但是我遇到了我根本看不到它的问题.这就是我所看到的:

But I've run in to the problem that I simply don't see it anymore. This is what I see:

与 Visual Studio 2013 相比:

Compared to Visual Studio 2013:

我已尝试重新安装 EF6.

I've tried reinstalling EF6.

但是我无法确定这是否是故意的.有谁知道我应该怎么做?到目前为止,我显然会坚持使用 VS2013.但我想尽快与 2015 年合作.

However I can't find out if this is intentional or not. Does anyone have any idea what I should do? I'll obviously stick to VS2013 as of now. But I wanna get working with 2015 asap.

推荐答案

显然 EF 暂时不适用于 VS 2015...我现在搜索了几个小时,但似乎没有办法让它工作.我将使用 VS 2013 从数据库中更新我的数据模型.

obviously the EF just isn't available for VS 2015 for now... I searched for hours now, but there seems to be no way to get this working. I'll use VS 2013 to update my data model from the database.

查看以下链接:

http://blogs.msdn.com/b/adonet/archive/2015/03/10/ef6-1-3-rtm-available.aspx

我找到了解决办法:)

只需更改 VS 2015 的安装并包括 Microsoft SQL Server 数据工具(通过控制面板>程序和功能>VS2015>更改>自定义(?我在那里看到德语单词)>Windows-和 Web 开发>Microsoft SQL服务器数据工具).

Just change your installation of VS 2015 and include the Microsoft SQL Server Data Tools (via Control Panel>Program & Features>VS2015>Change>Customize(? I see the german word there)>Windows- and Webdevelopment>Microsoft SQL Server Data Tools).

这将使您回到 .edmx 设计器和 ADO.NET 模型.

This will bring you back the .edmx designer and the ADO.NET model.

这篇关于用于 db 的 ado.net 模型消失了 Visual Studio 2015的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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