Skip to content Skip to sidebar Skip to footer

Sql Server Foreign Keys Messing With Entity Framework Model

I have an entity framework model, and I noticed that one table, a usergroup table is missing from the diagrams in the model file. This meant I could not modify it from the standard

Solution 1:

It is probably that the sections of the edmx file are out of sync or maybe parts are corrupt.

You could try opening the edmx file in a text editor and check for any errors.

You could also try removing that table, then opening the edmx file in a text editor and make sure that all references to that table have been removed.

The mapping error is not between tables, it is between parts of the edmx file.

Post a Comment for "Sql Server Foreign Keys Messing With Entity Framework Model"