Language

CoreEventId.ConflictingKeylessAndKeyAttributesWarning フィールド

定義

エンティティ型の KeylessAttribute 属性が、少なくとも 1 つのプロパティの 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で使用される場合、PropertyEventData ペイロードを使用します。

適用対象