阅读背景:

使用EF Code-first和迁移的重复id值

来源:互联网 

I develop my ASP.NET MVC4 app using EF Code-first, also im using Migrations feature. I have specific entity and i want to set explicit id values for some reasons. How can i do this? I tried to mark id property with attribute like this:I develop my ASP.NET MVC4 app using EF Code-fir




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: