src/EntityFramework/ModelConfiguration/Configuration/Properties/Navigation/WithX/CascadableNavigationPropertyConfiguration.cs
/// <summary>
/// Configures whether or not cascade delete is on for the relationship.
/// </summary>
/// <param name="value"> Value indicating if cascade delete is on or not. </param>
Configures whether or not cascade delete is on for the relationship.
Configures whether or not cascade delete is on for the relationship .
public void WillCascadeOnDelete(bool value)
        {
            _navigationPropertyConfiguration.DeleteAction
                = value
                      ? OperationAction.Cascade
                      : OperationAction.None;
        }
public void WillCascadeOnDelete ( bool value ) { _navigationPropertyConfiguration . DeleteAction = value ? OperationAction . Cascade : OperationAction . None ; }
Configures whether or not cascade delete is on for the relationship.
Configures whether or not cascade delete is on for the relationship .
value
bool
Value indicating if cascade delete is on or not.
Value indicating if cascade delete is on or not .