Skip to content

Stop generated cascade delete statements when the DeleteBehavior is database-side #21521

Open

Description

Currently, when setting DeleteBehavior.Cascade or SetNull, EF Core generates cascading statements for any tracked dependents. This isn't harmful, but is unnecessary since the behavior is already performed by the database.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions