Developer Resources for AbleCommerce eCommerce platform
CommerceBuilder.DomainModel Namespace / DeleteEventListener Class / CascadeBeforeDeleteAsync Method
In This Topic
    CascadeBeforeDeleteAsync Method
    In This Topic
    Syntax
    [AsyncStateMachine(NHibernate.Event.Default.DefaultDeleteEventListener/d__4)] 
    protected virtual Task CascadeBeforeDeleteAsync( 
       NHibernate.Event.IEventSource session, 
       NHibernate.Persister.Entity.IEntityPersister persister, 
       object entity, 
       NHibernate.Engine.EntityEntry entityEntry, 
       ISet<object> transientEntities, 
       CancellationToken cancellationToken 
    )

    Parameters

    session
    persister
    entity
    entityEntry
    transientEntities
    cancellationToken
    Requirements

    Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

    See Also