Make the 'foreign key column gets indexed' a IForeignKeyConvention #4416
Labels
closed-fixed
The issue has been fixed and is/will be included in the release indicated by the issue milestone.
type-cleanup
Milestone
I am porting a large schema to EF7. We have tables where it would be impractical to have a reverse index for every foreign key property. We know this is not a best practice, but we also don't delete from the primary table.
Having as a convention, we could easily remove it from the ConventionSet during model creation. We are already doing this for the
CascadeDeleteConvention
.Currently had to do this: BradBarnich@46ca0d3
Is there another workaround?
The text was updated successfully, but these errors were encountered: