CoreEventId.ShadowForeignKeyPropertyCreated Field
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.