I changed the type of my keys and now I am getting errors for the constraints. When I edit the constraints I see the mismatching types but I do not see how to change it.
Error:
"The types of all properties in the Dependent Role of a referential constraint must be the same as the corresponding property types in the Principal Role."
Daniel
Fix invalid constraint
Re: Fix invalid constraint
Okay I found it.
You fix this not by editing the constraint or the related classes but by editing the table of the constraint shown in the model explorer.
You fix this not by editing the constraint or the related classes but by editing the table of the constraint shown in the model explorer.
Re: Fix invalid constraint
JIC: double click on the error in the Errors window should make the property/column with issue being active.