CoreLoggerExtensions.RedundantIndexRemoved 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
多載
RedundantIndexRemoved(IDiagnosticsLogger<DbLoggerCategory.Model>, IReadOnlyList<IPropertyBase>, IReadOnlyList<IPropertyBase>)
RedundantIndexRemoved事件的記錄。
public static void RedundantIndexRemoved (this Microsoft.EntityFrameworkCore.Diagnostics.IDiagnosticsLogger<Microsoft.EntityFrameworkCore.DbLoggerCategory.Model> diagnostics, System.Collections.Generic.IReadOnlyList<Microsoft.EntityFrameworkCore.Metadata.IPropertyBase> redundantIndex, System.Collections.Generic.IReadOnlyList<Microsoft.EntityFrameworkCore.Metadata.IPropertyBase> otherIndex);
static member RedundantIndexRemoved : Microsoft.EntityFrameworkCore.Diagnostics.IDiagnosticsLogger<Microsoft.EntityFrameworkCore.DbLoggerCategory.Model> * System.Collections.Generic.IReadOnlyList<Microsoft.EntityFrameworkCore.Metadata.IPropertyBase> * System.Collections.Generic.IReadOnlyList<Microsoft.EntityFrameworkCore.Metadata.IPropertyBase> -> unit
<Extension()>
Public Sub RedundantIndexRemoved (diagnostics As IDiagnosticsLogger(Of DbLoggerCategory.Model), redundantIndex As IReadOnlyList(Of IPropertyBase), otherIndex As IReadOnlyList(Of IPropertyBase))
參數
- diagnostics
- IDiagnosticsLogger<DbLoggerCategory.Model>
要使用的診斷記錄器。
- redundantIndex
- IReadOnlyList<IPropertyBase>
備援索引。
- otherIndex
- IReadOnlyList<IPropertyBase>
另一個索引。
適用於
RedundantIndexRemoved(IDiagnosticsLogger<DbLoggerCategory.Model>, IReadOnlyList<IReadOnlyPropertyBase>, IReadOnlyList<IReadOnlyPropertyBase>)
RedundantIndexRemoved事件的記錄。
public static void RedundantIndexRemoved (this Microsoft.EntityFrameworkCore.Diagnostics.IDiagnosticsLogger<Microsoft.EntityFrameworkCore.DbLoggerCategory.Model> diagnostics, System.Collections.Generic.IReadOnlyList<Microsoft.EntityFrameworkCore.Metadata.IReadOnlyPropertyBase> redundantIndex, System.Collections.Generic.IReadOnlyList<Microsoft.EntityFrameworkCore.Metadata.IReadOnlyPropertyBase> otherIndex);
static member RedundantIndexRemoved : Microsoft.EntityFrameworkCore.Diagnostics.IDiagnosticsLogger<Microsoft.EntityFrameworkCore.DbLoggerCategory.Model> * System.Collections.Generic.IReadOnlyList<Microsoft.EntityFrameworkCore.Metadata.IReadOnlyPropertyBase> * System.Collections.Generic.IReadOnlyList<Microsoft.EntityFrameworkCore.Metadata.IReadOnlyPropertyBase> -> unit
<Extension()>
Public Sub RedundantIndexRemoved (diagnostics As IDiagnosticsLogger(Of DbLoggerCategory.Model), redundantIndex As IReadOnlyList(Of IReadOnlyPropertyBase), otherIndex As IReadOnlyList(Of IReadOnlyPropertyBase))
參數
- diagnostics
- IDiagnosticsLogger<DbLoggerCategory.Model>
要使用的診斷記錄器。
- redundantIndex
- IReadOnlyList<IReadOnlyPropertyBase>
備援索引。
- otherIndex
- IReadOnlyList<IReadOnlyPropertyBase>
另一個索引。