C# 4.0/EF - Server-generated keys and server-generated values are not supported by SQL Server Compact

后端 未结 1 1583
耶瑟儿~
耶瑟儿~ 2020-12-11 07:58

I have just moved one of my projects into VS2010/fx4.0 and am using a SQL CE database as the backing store. Since moving it to this version of .NET I am now getting this er

相关标签:
1条回答
  • 2020-12-11 08:26

    The important thing to check is the EDMX file and make sure this property/column doesn't have a StoreGeneratedPattern of identity in there.

    0 讨论(0)
提交回复
热议问题