dew*_*s92 3 c# entity-framework entity-framework-4 visual-studio-2012
我试图遵循使用实体数据模型的本教程.
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.
Run Code Online (Sandbox Code Playgroud)
我试图启用代码生成,但我无法弄清楚如何.我无法在项目属性中看到它:(我是Visual Basic的新手,非常感谢帮助.谢谢