Delen via


IUpdateAdapter.CascadeChanges Method

Definition

Forces immediate cascading deletion of child/dependent entities when they are either severed from a required parent/principal entity, or the required parent/principal entity is itself deleted. See DeleteBehavior.

public void CascadeChanges ();
abstract member CascadeChanges : unit -> unit
Public Sub CascadeChanges ()

Remarks

This method is usually used when CascadeDeleteTiming and/or DeleteOrphansTiming have been set to Never to manually force the deletes to have at a time controlled by the application.

If AutoDetectChangesEnabled is null then this method will call DetectChanges().

Applies to