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

    Parameters

    session
    entity
    entityEntry
    isCascadeDeleteEnabled
    persister
    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