共用方式為


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

實體類型的索引。

適用於