NavigationPropertyConfiguration.CascadeOnDelete Method
Namespace: System.Web.Http.OData.Builder
Assembly: System.Web.Http.OData (in System.Web.Http.OData.dll)
Overload List
Name | Description | |
---|---|---|
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. |
See Also
NavigationPropertyConfiguration Class
System.Web.Http.OData.Builder Namespace
Return to top
NavigationPropertyConfiguration.CascadeOnDelete Method ()
Configures cascade delete to be on for the navigation property.
Syntax
public NavigationPropertyConfiguration CascadeOnDelete()
public:
NavigationPropertyConfiguration^ CascadeOnDelete()
member CascadeOnDelete : unit -> NavigationPropertyConfiguration
Public Function CascadeOnDelete As NavigationPropertyConfiguration
Return Value
Type: System.Web.Http.OData.Builder.NavigationPropertyConfiguration
Return to top
NavigationPropertyConfiguration.CascadeOnDelete Method (Boolean)
Configures whether or not cascade delete is on for the navigation property.
Syntax
public NavigationPropertyConfiguration CascadeOnDelete(
bool cascade
)
public:
NavigationPropertyConfiguration^ CascadeOnDelete(
bool cascade
)
member CascadeOnDelete :
cascade:bool -> NavigationPropertyConfiguration
Public Function CascadeOnDelete (
cascade As Boolean
) As NavigationPropertyConfiguration
Parameters
cascade
Type: System.Booleantrue indicates delete should also remove the associated items; false indicates no additional action on delete.
Return Value
Type: System.Web.Http.OData.Builder.NavigationPropertyConfiguration
Return to top