Partager via


RelationalLoggerExtensions.IndexPropertiesBothMappedAndNotMappedToTable Méthode

Définition

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.

S’applique à