CoreEventId.ShadowForeignKeyPropertyCreated Field

Definition

A foreign key property was created in shadow state because a conflicting property with the simple name for this foreign key exists in the entity type, but is either not mapped, is already used for another relationship, or is incompatible with the associated primary key type.

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

Field Value

Remarks

This event is in the DbLoggerCategory.Model category.

This event uses the UniquifiedPropertyEventData payload when used with a DiagnosticSource.

See Modeling entity types and relationships for more information and examples.

Applies to