Condividi tramite


CoreLoggerExtensions.CascadeDelete Metodo

Definizione

Registra l'evento CascadeDelete .

public static void CascadeDelete (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 CascadeDelete : 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 CascadeDelete (diagnostics As IDiagnosticsLogger(Of DbLoggerCategory.Update), internalChildEntry As InternalEntityEntry, internalParentEntry As InternalEntityEntry, state As EntityState)

Parametri

diagnostics
IDiagnosticsLogger<DbLoggerCategory.Update>

Logger di diagnostica da usare.

internalChildEntry
Microsoft.EntityFrameworkCore.ChangeTracking.Internal.InternalEntityEntry

Voce di entità interna figlio.

internalParentEntry
Microsoft.EntityFrameworkCore.ChangeTracking.Internal.InternalEntityEntry

Voce dell'entità interna padre.

state
EntityState

Stato di destinazione.

Si applica a