Udostępnij za pośrednictwem


RelationalLoggerExtensions.IndexPropertiesBothMappedAndNotMappedToTable Metoda

Definicja

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)

Parametry

diagnostics
IDiagnosticsLogger<DbLoggerCategory.Model.Validation>

Rejestrator diagnostyczny do użycia.

entityType
IEntityType

Typ jednostki, na którym jest zdefiniowany indeks.

index
IIndex

Indeks typu jednostki.

unmappedPropertyName
String

Nazwa właściwości, która nie jest mapowana.

Dotyczy