LightningDB.LightningTransaction.Abort C# (CSharp) Méthode

Abort() public méthode

Abandon all the operations of the transaction instead of saving them. All cursors opened within the transaction will be closed by this call. The cursors and transaction handle will be freed and must not be used again after this call.
public Abort ( ) : void
Résultat void
        public void Abort()
        {
            State = LightningTransactionState.Aborted;
            StateChanging?.Invoke(State);
            mdb_txn_abort(_handle);
        }