CoreEventId.StateChanged Field


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

This event is in the DbLoggerCategory.ChangeTracking category.

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

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

Field Value


Applies to