Lenguaje

RelationalEventId.OwnedEntityMappedToJsonCollectionWarning Field

Definition

An owned entity type is mapped to JSON as a collection, which uses a synthesized ordinal key. This mapping is obsolete; map the type as a complex type collection instead.

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

Field Value

Remarks

This event is in the DbLoggerCategory.Model.Validation category.

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

Applies to