RelationalEventId.OwnedEntityMappedToJsonCollectionWarning 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.
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.