IUpdateAdapter.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 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
Entity Framework