NavigationPropertyConfiguration.CascadeOnDelete Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.