The .NET data model is shown as XML, not as a diagram.

I.e. I will format my computer and reinstall the whole environment again, but I cannot see the data model diagram. I mean, I open the data model (edmx file) and I see all the database tables and database information in the XML file. Not a chart.

I installed vs2010 sp1, net framework 4, micro net framework 4.1, entity framework 4.1

I don’t know what I am missing. Can you help me?

Without this, I cannot update the model.

It seems easy, but I don't know how to solve it.

+4
source share
1 answer

If you open the EDMX file in Visual Studio Solution Explorer using "Right-Mouse-Click-> Open With ..." ...

enter image description here

... what do you see in the next dialog box? It should be like this:

enter image description here

If in your case it looks like "default" (= format when double-clicking on the EDMX file), this is one of the XML editors. It should be "ADO.NET Entity Data Model Designer". You can do this by default by selecting a line in the list, and then click "Set as Default" on the right side.

+4
source

All Articles