Sprache

RelationalLoggerExtensions.IndexPropertiesBothMappedAndNotMappedToTable Methode

Definition

Protokolliert das IndexPropertiesBothMappedAndNotMappedToTable Ereignis.

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)

Parameter

diagnostics
IDiagnosticsLogger<DbLoggerCategory.Model.Validation>

Der zu verwendende Diagnoseprotokollierer.

entityType
IEntityType

Der Entitätstyp, für den der Index definiert ist.

index
IIndex

Der Index für den Entitätstyp.

unmappedPropertyName
String

Der Name der Eigenschaft, die nicht zugeordnet ist.

Gilt für: