共用方式為


CoreLoggerExtensions.SkipCollectionChangeDetected 方法

定義

CollectionChangeDetected事件的記錄。

public static void SkipCollectionChangeDetected (this Microsoft.EntityFrameworkCore.Diagnostics.IDiagnosticsLogger<Microsoft.EntityFrameworkCore.DbLoggerCategory.ChangeTracking> diagnostics, Microsoft.EntityFrameworkCore.ChangeTracking.Internal.InternalEntityEntry internalEntityEntry, Microsoft.EntityFrameworkCore.Metadata.ISkipNavigation navigation, System.Collections.Generic.ISet<object> added, System.Collections.Generic.ISet<object> removed);
static member SkipCollectionChangeDetected : Microsoft.EntityFrameworkCore.Diagnostics.IDiagnosticsLogger<Microsoft.EntityFrameworkCore.DbLoggerCategory.ChangeTracking> * Microsoft.EntityFrameworkCore.ChangeTracking.Internal.InternalEntityEntry * Microsoft.EntityFrameworkCore.Metadata.ISkipNavigation * System.Collections.Generic.ISet<obj> * System.Collections.Generic.ISet<obj> -> unit
<Extension()>
Public Sub SkipCollectionChangeDetected (diagnostics As IDiagnosticsLogger(Of DbLoggerCategory.ChangeTracking), internalEntityEntry As InternalEntityEntry, navigation As ISkipNavigation, added As ISet(Of Object), removed As ISet(Of Object))

參數

diagnostics
IDiagnosticsLogger<DbLoggerCategory.ChangeTracking>

要使用的診斷記錄器。

internalEntityEntry
Microsoft.EntityFrameworkCore.ChangeTracking.Internal.InternalEntityEntry

內部實體專案。

navigation
ISkipNavigation

瀏覽屬性。

added
ISet<Object>

加入的值。

removed
ISet<Object>

已移除的值。

適用於