Langue

RelationalLoggerExtensions.OwnedEntityMappedToJsonCollectionWarning Méthode

Définition

Enregistre l’événement OwnedEntityMappedToJsonCollectionWarning .

public static void OwnedEntityMappedToJsonCollectionWarning(this Microsoft.EntityFrameworkCore.Diagnostics.IDiagnosticsLogger<Microsoft.EntityFrameworkCore.DbLoggerCategory.Model.Validation> diagnostics, Microsoft.EntityFrameworkCore.Metadata.IEntityType entityType);
static member OwnedEntityMappedToJsonCollectionWarning : Microsoft.EntityFrameworkCore.Diagnostics.IDiagnosticsLogger<Microsoft.EntityFrameworkCore.DbLoggerCategory.Model.Validation> * Microsoft.EntityFrameworkCore.Metadata.IEntityType -> unit
<Extension()>
Public Sub OwnedEntityMappedToJsonCollectionWarning (diagnostics As IDiagnosticsLogger(Of DbLoggerCategory.Model.Validation), entityType As IEntityType)

Paramètres

diagnostics
IDiagnosticsLogger<DbLoggerCategory.Model.Validation>

Enregistreur d’événements de diagnostic à utiliser.

entityType
IEntityType

Type d’entité détenu mappé au json en tant que collection.

S’applique à