Is it possible for Entity Framework 4.0 to have an association/navigation property based off of a foreign key to a non-primary key field (it has a unique constraint).
12
votes
Possible duplicate of Create association on non-primary key fields with Entity Framework 4.1 Fluent API
- DavidRR
Voted to close as a duplicate though I believe that this question very nicely and concisely expresses the intent of the desired capability. Please note that an answer I provided at the referenced question indicates that Microsoft implemented this capability in EF Core 1.0 (EF7), but has no plans to implement it in EF6.
- DavidRR