Sdílet prostřednictvím


RelationalLoggerExtensions.AllIndexPropertiesNotToMappedToAnyTable Metoda

Definice

Zaznamená událost AllIndexPropertiesNotToMappedToAnyTable do protokolu.

public static void AllIndexPropertiesNotToMappedToAnyTable (this Microsoft.EntityFrameworkCore.Diagnostics.IDiagnosticsLogger<Microsoft.EntityFrameworkCore.DbLoggerCategory.Model.Validation> diagnostics, Microsoft.EntityFrameworkCore.Metadata.IEntityType entityType, Microsoft.EntityFrameworkCore.Metadata.IIndex index);
static member AllIndexPropertiesNotToMappedToAnyTable : Microsoft.EntityFrameworkCore.Diagnostics.IDiagnosticsLogger<Microsoft.EntityFrameworkCore.DbLoggerCategory.Model.Validation> * Microsoft.EntityFrameworkCore.Metadata.IEntityType * Microsoft.EntityFrameworkCore.Metadata.IIndex -> unit
<Extension()>
Public Sub AllIndexPropertiesNotToMappedToAnyTable (diagnostics As IDiagnosticsLogger(Of DbLoggerCategory.Model.Validation), entityType As IEntityType, index As IIndex)

Parametry

diagnostics
IDiagnosticsLogger<DbLoggerCategory.Model.Validation>

Diagnostický protokolovací nástroj, který se má použít.

entityType
IEntityType

Typ entity, pro kterou je index definovaný.

index
IIndex

Index typu entity.

Platí pro