CascadableNavigationPropertyConfiguration.WillCascadeOnDelete Method

 

Configures cascade delete to be on for the relationship.

Namespace:   System.Data.Entity.ModelConfiguration.Configuration
Assembly:  EntityFramework (in EntityFramework.dll)

NameDescription
System_CAPS_pubmethodWillCascadeOnDelete()

Configures cascade delete to be on for the relationship.

System_CAPS_pubmethodWillCascadeOnDelete(Boolean)

Configures whether or not cascade delete is on for the relationship.


CascadableNavigationPropertyConfiguration.WillCascadeOnDelete Method ()

Configures cascade delete to be on for the relationship.

public void WillCascadeOnDelete()

CascadableNavigationPropertyConfiguration.WillCascadeOnDelete Method (Boolean)

Configures whether or not cascade delete is on for the relationship.

public void WillCascadeOnDelete(
	bool value
)

Parameters

value
Type: System.Boolean

Value indicating if cascade delete is on or not.