Condividi tramite


RelationalLoggerExtensions.IndexPropertiesBothMappedAndNotMappedToTable Metodo

Definizione

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)

Parametri

diagnostics
IDiagnosticsLogger<DbLoggerCategory.Model.Validation>

Logger di diagnostica da usare.

entityType
IEntityType

Tipo di entità in cui è definito l'indice.

index
IIndex

Indice nel tipo di entità.

unmappedPropertyName
String

Nome della proprietà non mappata.

Si applica a