Share via


CoreEventId.StateChanged Field

Definition

An entity tracked by the DbContext is changing from one EntityState to another.

public static readonly Microsoft.Extensions.Logging.EventId StateChanged;
 staticval mutable StateChanged : Microsoft.Extensions.Logging.EventId
Public Shared ReadOnly StateChanged As EventId 

Field Value

Remarks

This event is in the DbLoggerCategory.ChangeTracking category.

This event uses the StateChangedEventData payload when used with a DiagnosticSource.

Applies to