Reputation: 1
I am Stuck with the TPH issue in Entity Framework 6.1.1 When using same foreign key propertie in the two child classes I am getting error : "One or more validation errors were detected during model generation:\r\n\r\ xyz: Name: Each property name in a type must be unique. Property name ' ' is already defined.\r\n". Please refere last example in given link . http://entityframework.codeplex.com/workitem/583 Any alternate solution will be appreciated.....
Upvotes: 0
Views: 185
Reputation: 722
I have noticed that this happens when you establish a navigation property, and then add a scale property, both properties (scalar and navigation) associated with a single foreign key. Perhaps your case.
Upvotes: 1