Ability to set DeleteBehavior via ForeignKey annotation #17738
Labels
closed-out-of-scope
This is not something that will be fixed/implemented and the issue is closed.
customer-reported
type-enhancement
To set the OnDelete referential action, you must have the ICollection navigation property defined in order to even use the ModelBuilder's WithMany and HasForeignKey fluent methods.
I'd like to be able to easily and quickly set the OnDelete action via the ForeignKey attribute on the one navigation property that's defined.
The text was updated successfully, but these errors were encountered: