You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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 ?
Reacted by Roger Hendriks, stefanolson, Alex Diego Araujo da Rocha and Alexander Bobrovich
Activity
[-]Add a `DeleteBehaviorAttribute` data annotations [/-][+]Can we have a `DeleteBehaviorAttribute` [/+]John0King commentedon Oct 16, 2018
see also in #10864
6 remaining items
Attribute for configuring DeleteBehavior
[-]Can we have a `DeleteBehaviorAttribute` [/-][+]`DeleteBehaviorAttribute` [/+]