http://msdn.microsoft.com/en-US/data/jj556581
标记
Reverting Back to ObjectContext Code Generation
![]() | Disable DbContext Code Generation |
删除选中的两个文件
If you are using VB.NET you will need to select the Show All Files button to see the nested files. | |
![]() | Re-Enable ObjectContext Code Generation |
打开模型,在空白处右键-属性.把代码生成策略改成默认值。 |