ChangeTracker.Tracked Event

Definition

An event fired when an entity is tracked by the context, either because it was returned from a tracking query, or because it was attached or added to the context.

public event EventHandler<Microsoft.EntityFrameworkCore.ChangeTracking.EntityTrackedEventArgs> Tracked;
member this.Tracked : EventHandler<Microsoft.EntityFrameworkCore.ChangeTracking.EntityTrackedEventArgs> 
Public Custom Event Tracked As EventHandler(Of EntityTrackedEventArgs) 

Event Type

Remarks

See EF Core change tracking for more information and examples.

Applies to