Partilhar via


RelationalLoggerExtensions.IndexPropertiesBothMappedAndNotMappedToTable Método

Definição

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)

Parâmetros

diagnostics
IDiagnosticsLogger<DbLoggerCategory.Model.Validation>

O agente diagnóstico a ser usado.

entityType
IEntityType

O tipo de entidade no qual o índice é definido.

index
IIndex

O índice no tipo de entidade.

unmappedPropertyName
String

O nome da propriedade que não está mapeada.

Aplica-se a