Skip to content

DeleteBehaviorAttribute  #9621

@John0King

Description

@John0King

Data annotations is a much easier way to configure model than Fluent API.
And we can only configure DeleteBehavior via Fluent API today, that means we need configure foreign key again in fluent api.
Can we have a DeleteBebaviorAttribute(DeleteBehavior behavior) in Microsoft.EntityFramework Namespace ?

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions