Udostępnij za pośrednictwem


CoreLoggerExtensions.CollectionChangeDetected Metoda

Definicja

Rejestruje zdarzenie CollectionChangeDetected .

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

Parametry

diagnostics
IDiagnosticsLogger<DbLoggerCategory.ChangeTracking>

Rejestrator diagnostyczny do użycia.

internalEntityEntry
Microsoft.EntityFrameworkCore.ChangeTracking.Internal.InternalEntityEntry

Wpis jednostki wewnętrznej.

navigation
INavigation

Właściwość nawigacji.

added
ISet<Object>

Dodane wartości.

removed
ISet<Object>

Usunięte wartości.

Dotyczy