Share via


IUpdateAdapter.CascadeDeleteTiming Property

Definition

Gets or sets a value indicating when a dependent/child entity will have its state set to Deleted once its parent/principal entity has been marked as Deleted. The default value isImmediate.

public Microsoft.EntityFrameworkCore.ChangeTracking.CascadeTiming CascadeDeleteTiming { get; set; }
member this.CascadeDeleteTiming : Microsoft.EntityFrameworkCore.ChangeTracking.CascadeTiming with get, set
Public Property CascadeDeleteTiming As CascadeTiming

Property Value

Remarks

Dependent/child entities are only deleted automatically when the relationship is configured with Cascade. This is set by default for required relationships.

Applies to