Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Can't find ADO.NET Entity Model Browser Window in vs2010

I want to update my ADO.NET Entities Framework Model from the database, but I cannot find the Entity Model Browser Window. There is an example of how to update my model here, but I cannot find how to open the model browser. Could someone please tell me exactly how to open it using Visual Studio 2010?

I tried finding it through the view menu, and I do not get any valid options when right-clicking on the .edmx file.

like image 281
John Fischer Avatar asked Sep 16 '10 19:09

John Fischer


People also ask

Where is Ado Net Entity Data Model?

Right-click on your project in the Solution Explorer window and select the menu option Add -> New Item. In the Add New Item dialog, select the Data category. Select the ADO.NET Entity Data Model template, give the Entity Data Model the name Northwind. edmx, and click the Add button.

How do I open browser model in Visual Studio?

If you don't see it in Visual Studio, open up Solution Explorer, double click on your edmx file. In the designer that pops up, right click and choose Model Browser.

Is ADO.NET supported by Visual Studio?

ADO.NET, for WindowsInstall Visual Studio Community, or a similar integrated development environment (IDE) for writing and compiling C# source code. Microsoft now provides Visual Studio Community for free.


2 Answers

First, open up the EDMX file. Then, in main menu select View > Other Windows > Entity Data Model Browser (it usually opens in the same panel as Solution explorer).

like image 124
Ladislav Mrnka Avatar answered Sep 22 '22 08:09

Ladislav Mrnka


For me, the sequence was:

  1. Double-click the .edmx file
  2. Right click any white space in the opened diagram
  3. Click Model Browser in the context menu that appears

Happy coding, all. :-)

like image 39
Krayg Avatar answered Sep 23 '22 08:09

Krayg