语言

CoreEventId.OptimisticConcurrencyException 字段

定义

调用期间引发了一个OptimisticConcurrencyExceptionSaveChanges()

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

字段值

注解

此事件位于类别中 DbLoggerCategory.Update 。

此事件在与 a DiagnosticSource. 一起使用时使用DbContextErrorEventData有效负载。

适用于