...您在以下对话框中看到什么?应该是这样的:如果您的情况看起来像默认"(=只需双击EDMX文件时的格式)就是XML编辑器之一.它应该是"ADO.NET实体数据模型设计器".您可以通过在列表框中选择该行并将其设置为默认值,然后单击右侧的设置为默认值".That is. I format my computer and install the entire enviroment again, but I can't see the data model diagram.I mean, I open the data model (edmx file) and I see all the DB tables and DB information in an XML file. Not the diagram.I installed vs2010 sp1, net framework 4, micro net framework 4.1, entity framework 4.1I don't know what I am missing. Can you help me?Without that I cannot update the model.Is seems easy but I don't know how to solve it. 解决方案 If you open the EDMX file in the solution explorer of Visual Studio with "Right-Mouse-Click->Open With..." ......what do you see in the following dialog? It should be like this:If looks like in your case the "default" (= format when you just double click on the EDMX file) is one of the XML editors. It should be "ADO.NET Entity Data Model Designer". You can make it the default by selecting the line in the list box and then click on "Set as Default" on the right side. 这篇关于.NET数据模型显示为XML而不是图表的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持! 上岸,阿里云!
09-05 05:21
查看更多