Udostępnij za pośrednictwem


CoreLoggerExtensions.PropertyChangeDetectedSensitive Metoda

Definicja

PropertyChangeDetected Rejestruje zdarzenie.

public static void PropertyChangeDetectedSensitive (this Microsoft.EntityFrameworkCore.Diagnostics.IDiagnosticsLogger<Microsoft.EntityFrameworkCore.DbLoggerCategory.ChangeTracking> diagnostics, Microsoft.EntityFrameworkCore.ChangeTracking.Internal.InternalEntityEntry internalEntityEntry, Microsoft.EntityFrameworkCore.Metadata.IProperty property, object oldValue, object newValue);
public static void PropertyChangeDetectedSensitive (this Microsoft.EntityFrameworkCore.Diagnostics.IDiagnosticsLogger<Microsoft.EntityFrameworkCore.DbLoggerCategory.ChangeTracking> diagnostics, Microsoft.EntityFrameworkCore.ChangeTracking.Internal.InternalEntityEntry internalEntityEntry, Microsoft.EntityFrameworkCore.Metadata.IProperty property, object? oldValue, object? newValue);
static member PropertyChangeDetectedSensitive : Microsoft.EntityFrameworkCore.Diagnostics.IDiagnosticsLogger<Microsoft.EntityFrameworkCore.DbLoggerCategory.ChangeTracking> * Microsoft.EntityFrameworkCore.ChangeTracking.Internal.InternalEntityEntry * Microsoft.EntityFrameworkCore.Metadata.IProperty * obj * obj -> unit
<Extension()>
Public Sub PropertyChangeDetectedSensitive (diagnostics As IDiagnosticsLogger(Of DbLoggerCategory.ChangeTracking), internalEntityEntry As InternalEntityEntry, property As IProperty, oldValue As Object, newValue As Object)

Parametry

diagnostics
IDiagnosticsLogger<DbLoggerCategory.ChangeTracking>

Rejestrator diagnostyczny do użycia.

internalEntityEntry
Microsoft.EntityFrameworkCore.ChangeTracking.Internal.InternalEntityEntry

Wpis jednostki wewnętrznej.

property
IProperty

Właściwość.

oldValue
Object

Stara wartość.

newValue
Object

Nowa wartość.

Dotyczy