Studio 2015是否包括.edmx支持? [英] does Visual Studio 2015 include .edmx support?
问题描述
Visual Studio 2015是否包括.edmx支持?
Does Visual Studio 2015 include .edmx support?
我有一个包含.edmx数据模型的项目,并在VS2015中双击它,只是打开了XML编辑器.
I have a project that includes an .edmx data model and double-clicking it in VS2015 just opens the XML editor.
文件->新建"对话框中没有DbContext生成器选项.
There's no DbContext generator option in the file->new dialog.
推荐答案
在VS2015的安装过程中,转到高级选项,然后选择"Web"或数据库开发"工具.现在,安装程序将安装EF工具(Designer +模板).如果您已经安装了VS,请转到程序和控制面板中的功能并修改当前安装的VS2015.
During setup of VS2015, go to the advanced options and select Web or Database Development tools. Now the Installers install the EF tools (Designer + templates). If you have VS already installed, to the Programs & features in control panel and modify the currently installed VS2015.
这篇关于Studio 2015是否包括.edmx支持?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!