Skip to content Skip to sidebar Skip to footer

C# 4.0/ef - Server-generated Keys And Server-generated Values Are Not Supported By Sql Server Compact

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 error:

Solution 1:

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


Post a Comment for "C# 4.0/ef - Server-generated Keys And Server-generated Values Are Not Supported By Sql Server Compact"