且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

无法在表中插入标识列的显式值 - 代码优先使用EF生成的DB

更新时间:2023-01-22 08:52:22

我刚尝试重现这个和我我没有收到这个错误。


你实际插入实体的代码是什么样的,你使用的是什么版本的CTP / VS2010?


[)amien


Sorry, posted this originally in the "release" forum, I didn't know the pre-release ones existed...

I've just tried to reproduce this and I'm not getting that error.

What does your code to actually insert the entity look like and what version of the CTP/VS2010 are you using?

[)amien


相关阅读

技术问答最新文章