RelationalLoggerExtensions.AllIndexPropertiesNotToMappedToAnyTable 方法

定义

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)

参数

diagnostics
IDiagnosticsLogger<DbLoggerCategory.Model.Validation>

要使用的诊断记录器。

entityType
IEntityType

定义索引的实体类型。

index
IIndex

实体类型的索引。

适用于