语言

CoreEventId.MultiplePrimaryKeyCandidates 字段

定义

有多个属性可用作主键。

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

字段值

注解

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

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

适用于