Langue

CoreEventId.ConflictingKeylessAndKeyAttributesWarning Champ

Définition

Un KeylessAttribute attribut sur le type d’entité est en conflit avec un KeyAttribute attribut sur au moins une de ses propriétés.

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

Valeur de champ

Remarques

Cet événement se trouve dans la DbLoggerCategory.Model catégorie.

Cet événement utilise la PropertyEventData charge utile lorsqu’il est utilisé avec un DiagnosticSource.

S’applique à