Compartir a través de


CoreLoggerExtensions.CascadeDeleteOrphanSensitive Método

Definición

Registra el CascadeDeleteOrphan evento.

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)

Parámetros

diagnostics
IDiagnosticsLogger<DbLoggerCategory.Update>

Registrador de diagnóstico que se va a usar.

internalChildEntry
Microsoft.EntityFrameworkCore.ChangeTracking.Internal.InternalEntityEntry

Entrada de entidad interna secundaria.

parentEntityType
IEntityType

Tipo de entidad primaria.

state
EntityState

Estado de destino.

Se aplica a