【发布时间】:2014-05-19 19:19:00
【问题描述】:
我正在尝试学习使用实体数据模型的本教程。
http://www.entityframeworktutorial.net/create-first-simple-EDM.aspx
它告诉我打开 Model1.designer.cs 文件。
我应该看到一堆 C# 代码,但我看到的只是:
// Default code generation is disabled for model 'c:\users\dewi jones\documents\visual studio 2012\Projects\dewi_test\dewi_test\Dewi_Model.edmx'.
// To enable default code generation, change the value of the 'Code Generation Strategy' designer
// property to an alternate value. This property is available in the Properties Window when the model is
// open in the designer.
我尝试启用代码生成,但不知道如何启用。我在项目属性中看不到它:( 我是 Visual Basic 的新手,非常感谢帮助。谢谢
【问题讨论】:
标签: c# entity-framework visual-studio-2012 entity-framework-4