Share via


EntityTrackedEventArgs Class

Definition

Event arguments for the Tracked event.

public class EntityTrackedEventArgs : Microsoft.EntityFrameworkCore.ChangeTracking.EntityEntryEventArgs
type EntityTrackedEventArgs = class
    inherit EntityEntryEventArgs
Public Class EntityTrackedEventArgs
Inherits EntityEntryEventArgs
Inheritance
EntityTrackedEventArgs

Remarks

See State changes of entities in EF Core for more information and examples.

Constructors

EntityTrackedEventArgs(InternalEntityEntry, Boolean)

This is an internal API that supports the Entity Framework Core infrastructure and not subject to the same compatibility standards as public APIs. It may be changed or removed without notice in any release. You should only use it directly in your code with extreme caution and knowing that doing so can result in application failures when updating to a new Entity Framework Core release.

Properties

Entry

The EntityEntry for the entity.

(Inherited from EntityEntryEventArgs)
FromQuery

true if the entity is being tracked as part of a database query; false otherwise.

Applies to