LightningDB.LightningTransaction.Reset C# (CSharp) Method

Reset() public method

Reset current transaction.
public Reset ( ) : void
return void
        public void Reset()
        {
            if (!IsReadOnly)
                throw new InvalidOperationException("Can't reset non-readonly transaction");

            mdb_txn_reset(_handle);
            State = LightningTransactionState.Reseted;
        }