CoreLoggerExtensions.CascadeDeleteOrphanSensitive 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
CascadeDeleteOrphan事件的記錄。
public static void CascadeDeleteOrphanSensitive (this Microsoft.EntityFrameworkCore.Diagnostics.IDiagnosticsLogger<Microsoft.EntityFrameworkCore.DbLoggerCategory.Update> diagnostics, Microsoft.EntityFrameworkCore.ChangeTracking.Internal.InternalEntityEntry internalChildEntry, Microsoft.EntityFrameworkCore.Metadata.IEntityType parentEntityType, Microsoft.EntityFrameworkCore.EntityState state);
static member CascadeDeleteOrphanSensitive : Microsoft.EntityFrameworkCore.Diagnostics.IDiagnosticsLogger<Microsoft.EntityFrameworkCore.DbLoggerCategory.Update> * Microsoft.EntityFrameworkCore.ChangeTracking.Internal.InternalEntityEntry * Microsoft.EntityFrameworkCore.Metadata.IEntityType * Microsoft.EntityFrameworkCore.EntityState -> unit
<Extension()>
Public Sub CascadeDeleteOrphanSensitive (diagnostics As IDiagnosticsLogger(Of DbLoggerCategory.Update), internalChildEntry As InternalEntityEntry, parentEntityType As IEntityType, state As EntityState)
參數
- diagnostics
- IDiagnosticsLogger<DbLoggerCategory.Update>
要使用的診斷記錄器。
- internalChildEntry
- Microsoft.EntityFrameworkCore.ChangeTracking.Internal.InternalEntityEntry
子內部實體專案。
- parentEntityType
- IEntityType
父實體類型。
- state
- EntityState
目標狀態。