Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

does Visual Studio 2015 include .edmx support?

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.

like image 964
Spongman Avatar asked Aug 25 '15 19:08

Spongman


People also ask

Does EF core support EDMX?

EF Core does not support the EDMX file format for models. The best option to port these models, is to generate a new code-based model from the database for your application.


2 Answers

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.

like image 94
magicandre1981 Avatar answered Oct 12 '22 01:10

magicandre1981


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

like image 27
Novitzky Avatar answered Oct 12 '22 01:10

Novitzky