ChangeTracker.CascadeChanges 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.
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 virtual void CascadeChanges ();
abstract member CascadeChanges : unit -> unit
override this.CascadeChanges : unit -> unit
Public Overridable 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 true then this method will call DetectChanges().
Applies to
Feedback
Submit and view feedback for