CoreLoggerExtensions.ForeignKeyChangeDetected Yöntem

Tanım

Olay için ForeignKeyChangeDetected günlükler.

public static void ForeignKeyChangeDetected (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 ForeignKeyChangeDetected (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 ForeignKeyChangeDetected : Microsoft.EntityFrameworkCore.Diagnostics.IDiagnosticsLogger<Microsoft.EntityFrameworkCore.DbLoggerCategory.ChangeTracking> * Microsoft.EntityFrameworkCore.ChangeTracking.Internal.InternalEntityEntry * Microsoft.EntityFrameworkCore.Metadata.IProperty * obj * obj -> unit
<Extension()>
Public Sub ForeignKeyChangeDetected (diagnostics As IDiagnosticsLogger(Of DbLoggerCategory.ChangeTracking), internalEntityEntry As InternalEntityEntry, property As IProperty, oldValue As Object, newValue As Object)

Parametreler

diagnostics
IDiagnosticsLogger<DbLoggerCategory.ChangeTracking>

Kullanılacak tanılama günlükçü.

internalEntityEntry
Microsoft.EntityFrameworkCore.ChangeTracking.Internal.InternalEntityEntry

İç varlık girişi.

property
IProperty

Özellik.

oldValue
Object

Eski değer.

newValue
Object

yeni değer.

Şunlara uygulanır