pending the official release of VS2010, you have to deal with a bug in the RC version on to the entity framework.
Case: a nullable field of the main table refers to a secondary table. The primary key of the secondary table is of type identity (autogerata). Entity Framework wrongly branded as autogerata (
StoreGeneratedPattern = "Identity" ) the ownership of the main table. link to vote for the bug on Microsoft Connect and a workaround. In short, the workaround
is to remove the specification (
StoreGeneratedPattern = "Identity" ) for fields prosecuted (listing the xml you can edit directly in visual studio: right click on the file. edmx in the solution explorer and then "edit xml").
0 comments:
Post a Comment