I created a EF model in a library project which targets .NET framework 4.0. I just downgraded it to target framework 3.5 instead since one of the projects that will be using this library targets 3.5 and cannot be upgraded at the moment.
After changing the target framework from 4 to 3.5, I am getting multiple 111 errors similar to:
Error 111: Properties referred by the Dependent Role WfInstance must be a subset of the key of the EntityType xx.Entity.WfInstance referred to by the Dependent Role in the referential constraint for Relationship xx.Entity.FK_WfInstance_WfStatusType.
What I get out of the message is that my table's (WfInstance) primary key must use/contain the Id of the referenced table (WfStatusType) and any other tables it references. However, I am not sure how to do this.
Any help would be appreciated.
TIA - GP