Saturday, May 21, 2011

A value shared across entities or associations is generated in more than one location.

If you're using EntityFramework and you see this error - 

A value shared across entities or associations is generated in more than one location.


Then what it means is: you've set up inheritance using multiple tables and you've left the key autogenerated in one of the derived types.

No comments:

Post a Comment