ChangeTracker.Tracking Event

Definition

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

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

Event Type

Remarks

See EF Core change tracking for more information and examples.

Applies to