RelationalLoggerExtensions.IndexPropertiesBothMappedAndNotMappedToTable 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.
Journalise l’événement IndexPropertiesBothMappedAndNotMappedToTable .
public static void IndexPropertiesBothMappedAndNotMappedToTable(this Microsoft.EntityFrameworkCore.Diagnostics.IDiagnosticsLogger<Microsoft.EntityFrameworkCore.DbLoggerCategory.Model.Validation> diagnostics, Microsoft.EntityFrameworkCore.Metadata.IEntityType entityType, Microsoft.EntityFrameworkCore.Metadata.IIndex index, string unmappedPropertyName);
static member IndexPropertiesBothMappedAndNotMappedToTable : Microsoft.EntityFrameworkCore.Diagnostics.IDiagnosticsLogger<Microsoft.EntityFrameworkCore.DbLoggerCategory.Model.Validation> * Microsoft.EntityFrameworkCore.Metadata.IEntityType * Microsoft.EntityFrameworkCore.Metadata.IIndex * string -> unit
<Extension()>
Public Sub IndexPropertiesBothMappedAndNotMappedToTable (diagnostics As IDiagnosticsLogger(Of DbLoggerCategory.Model.Validation), entityType As IEntityType, index As IIndex, unmappedPropertyName As String)
Paramètres
- diagnostics
- IDiagnosticsLogger<DbLoggerCategory.Model.Validation>
Journal diagnostics à utiliser.
- entityType
- IEntityType
Type d’entité sur lequel l’index est défini.
- index
- IIndex
Index sur le type d’entité.
- unmappedPropertyName
- String
Nom de la propriété qui n’est pas mappée.