ForeignKeyConvention doesnt run when dependent entity type PK is changed #11019
Labels
closed-fixed
The issue has been fixed and is/will be included in the release indicated by the issue milestone.
type-bug
Milestone
Before:
and OnModelCreating:
would create a navigation: locustHorde.CommanderName -> locustLeader.Name
After adding (undelated) navigation to LocustCommander, the relationship is not defined as:
faction.Id -> locustLeader.CommandingFactionId
The new definition is worse because the navigation is declared on derived entity - LocustHorde and there is a matching FK (CommanderName)
The text was updated successfully, but these errors were encountered: