Share via


NavigationPropertyConfiguration.CascadeOnDelete Method

Definition

Overloads

CascadeOnDelete()

Configures cascade delete to be on for the navigation property.

CascadeOnDelete(Boolean)

Configures whether or not cascade delete is on for the navigation property.

CascadeOnDelete()

Configures cascade delete to be on for the navigation property.

public Microsoft.AspNet.OData.Builder.NavigationPropertyConfiguration CascadeOnDelete ();
member this.CascadeOnDelete : unit -> Microsoft.AspNet.OData.Builder.NavigationPropertyConfiguration
Public Function CascadeOnDelete () As NavigationPropertyConfiguration

Returns

Applies to

CascadeOnDelete(Boolean)

Configures whether or not cascade delete is on for the navigation property.

public Microsoft.AspNet.OData.Builder.NavigationPropertyConfiguration CascadeOnDelete (bool cascade);
member this.CascadeOnDelete : bool -> Microsoft.AspNet.OData.Builder.NavigationPropertyConfiguration
Public Function CascadeOnDelete (cascade As Boolean) As NavigationPropertyConfiguration

Parameters

cascade
Boolean

true indicates delete should also remove the associated items; false indicates no additional action on delete.

Returns

Applies to