Target Framework change 4.0 to 3.5 breaks EF model. Error 111: Referential constraint errors
- 阅读更多 关于 Target Framework change 4.0 to 3.5 breaks EF model. Error 111: Referential constraint errors
问题 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