RelationalLoggerExtensions.OwnedEntityMappedToJsonCollectionWarning Méthode
Définition
Important
Certaines informations portent sur la préversion du produit qui est susceptible d’être en grande partie modifiée avant sa publication. Microsoft exclut toute garantie, expresse ou implicite, concernant les informations fournies ici.
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.