語言

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 類別。

此事件在與 DiagnosticSource搭配 時會使用 payload 。PropertyEventData

適用於