Interface ITransactionStack

Objects that support interfacing with a transactional store implement this interface.

interface ITransactionStack {
    pushTransaction(description?): ITransaction;
}

Hierarchy (view full)

Methods

  • Begins a transaction but puts it onto a global stack. This will batch all 'transactional' changes until they have all be committed or rolled back.

    Parameters

    • Optional description: string

    Returns ITransaction

    Remarks

    Any changes that are made to this object will be reflected in the local sheet but not committed to the transactional store until the batch is popped.