RelationalLoggerExtensions.AllIndexPropertiesNotToMappedToAnyTable 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
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
實體類型的索引。