日期:2014-05-20  浏览次数:20724 次

关于EntityFrame4.1中 .edmx文件的生成
大家好,我在学习MVC3, 其中用到了EntityFrame4.1
在阅读英语教程的过程中,我遇到了这样一个问题
原来有一个Table,映射到了一个Obj
对这个Table增加两个Column,需要Updating the Entity Framework Conceptual Model

We have created the new columns in the database and the corresponding properties in the Product class. Now we
must update the Entity Framework conceptual model so that the two are mapped together properly. This is a quickand-
easy process. Open the SportsStore.edmx file in the Concrete/ORM folder of the SportsStore

但是我没有找到edmx这个文件,请问这个我文件是如何生成的?

------解决方案--------------------
右键你的工程,新建项目,选择ADO.NET Entity Data Model,然后在选择数据库,他就会自动生成的表的结构