I created an EF model in a library project that is designed for the .NET framework 4.0. I just downgraded it to the target environment of 3.5, because one of the projects that will use this library will have a value of 3.5 and cannot be updated at the moment.
After changing the target structure from 4 to 3.5, I get a few 111 errors, similar to:
Error 111: the properties specified in the Dependent Role of WfInstance should be a subset of the EntityType xx.Entity.WfInstance key referenced by the Dependent Role in the reference constraint for xx.Entity.FK_WfInstance_WfStatusType relationships.
What I get from the message is that the primary key of my table (WfInstance) should use / contain the identifier of the referenced table (WfStatusType) and any other tables that it refers to. However, I am not sure how to do this.
Any help would be appreciated.
TIA - GP
source share