阅读背景:

将UserId分配给外键= null

来源:互联网 

I'm using Entity Framework 5 and MVC 4, with .NET 4.5 using Code First migrations. I have foreign keys between two entities in a 1 to zero-or-1 relationship. When I try to create the record for Jogger everything blows up. I get error messages that are either:I'm using Entity Framework 5 and MVC 4, with .N




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

分享到: