CoreLoggerExtensions.CascadeDeleteSensitive 方法

定义

CascadeDelete事件的日志。

public static void CascadeDeleteSensitive (this Microsoft.EntityFrameworkCore.Diagnostics.IDiagnosticsLogger<Microsoft.EntityFrameworkCore.DbLoggerCategory.Update> diagnostics, Microsoft.EntityFrameworkCore.ChangeTracking.Internal.InternalEntityEntry internalChildEntry, Microsoft.EntityFrameworkCore.ChangeTracking.Internal.InternalEntityEntry internalParentEntry, Microsoft.EntityFrameworkCore.EntityState state);
static member CascadeDeleteSensitive : Microsoft.EntityFrameworkCore.Diagnostics.IDiagnosticsLogger<Microsoft.EntityFrameworkCore.DbLoggerCategory.Update> * Microsoft.EntityFrameworkCore.ChangeTracking.Internal.InternalEntityEntry * Microsoft.EntityFrameworkCore.ChangeTracking.Internal.InternalEntityEntry * Microsoft.EntityFrameworkCore.EntityState -> unit
<Extension()>
Public Sub CascadeDeleteSensitive (diagnostics As IDiagnosticsLogger(Of DbLoggerCategory.Update), internalChildEntry As InternalEntityEntry, internalParentEntry As InternalEntityEntry, state As EntityState)

参数

diagnostics
IDiagnosticsLogger<DbLoggerCategory.Update>

要使用的诊断记录器。

internalChildEntry
Microsoft.EntityFrameworkCore.ChangeTracking.Internal.InternalEntityEntry

子内部实体条目。

internalParentEntry
Microsoft.EntityFrameworkCore.ChangeTracking.Internal.InternalEntityEntry

父内部实体条目。

state
EntityState

目标状态。

适用于