ChangeTracker.Tracked Event
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.
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)
See EF Core change tracking for more information and examples.
Product | Versions |
---|---|
Entity Framework Core | 2.1, 2.2, 3.0, 3.1, 5.0, 6.0, 7.0, 8.0, 9.0 |
Entity Framework feedback
Entity Framework is an open source project. Select a link to provide feedback: