CoreLoggerExtensions.CascadeDeleteSensitive 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
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
目標狀態。