Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Missing ADO.NET entity data model template from visual studio 2012 professional

Missing ADO.NET entity data model template from Visual Studio 2012 Professional. I don't even have "Data" category from Visual Studio template category.

I modified the Visual Studio 2012 installation, and selected all the available packages to install. But even then no luck.

like image 796
Alagesan Palani Avatar asked Oct 17 '12 11:10

Alagesan Palani


People also ask

How do I add ado net entity data model in Visual Studio?

Adding an Entity Data Model To add an Entity Data Model to your solution, do the following: In the Solution Explorer, right-click your application and select Add and then New Item. From Visual Studio installed templates, select ADO.NET Entity Data Model (see the figure that follows). Click Add.

How do I add models to Entity Framework?

Right-click the Models folder in the Solution Explorer window and select the menu option Add, New Item. In the Add New Item dialog, select the Data category (see Figure 1). Select the ADO.NET Entity Data Model template, give the Entity Data Model the name MoviesDBModel. edmx, and click the Add button.


2 Answers

I did a search in C:\ProgramData\Package Cache for "eftools.msi"

There were three versions (from different beta/RCs I guess)

I picked the most recent and installed it.

This solved the problem for me.

like image 141
Chris Haines Avatar answered Oct 07 '22 09:10

Chris Haines


Firstly you can add ClassLibrary in your Solution. Then, Add New Item to ClassLibrary and you can add Data>ADO.NET Entity Data Model

like image 34
ionat Avatar answered Oct 07 '22 08:10

ionat