Partager via


CoreLoggerExtensions.CascadeDeleteOrphan Méthode

Définition

Journaux de l’événement CascadeDeleteOrphan .

public static void CascadeDeleteOrphan (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 CascadeDeleteOrphan : Microsoft.EntityFrameworkCore.Diagnostics.IDiagnosticsLogger<Microsoft.EntityFrameworkCore.DbLoggerCategory.Update> * Microsoft.EntityFrameworkCore.ChangeTracking.Internal.InternalEntityEntry * Microsoft.EntityFrameworkCore.Metadata.IEntityType * Microsoft.EntityFrameworkCore.EntityState -> unit
<Extension()>
Public Sub CascadeDeleteOrphan (diagnostics As IDiagnosticsLogger(Of DbLoggerCategory.Update), internalChildEntry As InternalEntityEntry, parentEntityType As IEntityType, state As EntityState)

Paramètres

diagnostics
IDiagnosticsLogger<DbLoggerCategory.Update>

Journal diagnostics à utiliser.

internalChildEntry
Microsoft.EntityFrameworkCore.ChangeTracking.Internal.InternalEntityEntry

Entrée d’entité interne enfant.

parentEntityType
IEntityType

Type d’entité parent.

state
EntityState

État cible.

S’applique à