语言

CoreEventId.ConflictingKeylessAndKeyAttributesWarning 字段

定义

KeylessAttribute实体类型的属性与其属性中的至少一个KeyAttribute属性发生冲突。

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

字段值

注解

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

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

适用于