Lenguaje

CoreEventId.EnsureCreatedWithTrackedEntitiesWarning Field

Definition

EnsureCreatedAsync(CancellationToken) was called on a context that is already tracking added, modified, or deleted entities. These changes would be lost if a retry occurs due to a transient failure.

This event is in the DbLoggerCategory.Infrastructure category.

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

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

Field Value

Applies to