does Visual Studio 2015 include .edmx support?

▼魔方 西西 提交于 2019-12-05 16:43:48

问题


Does Visual Studio 2015 include .edmx support?

I have a project that includes an .edmx data model and double-clicking it in VS2015 just opens the XML editor.

There's no DbContext generator option in the file->new dialog.


回答1:


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.




回答2:


You have to select the Microsoft SQL Server Data Tools in the VS2015 setup to get this editor back.

NOTE: You can modify the current installation via Program And Features as magicandre1981 has already suggested.

see how this is done here



来源:https://stackoverflow.com/questions/32212919/does-visual-studio-2015-include-edmx-support

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!