LightningDB.LightningTransaction.Commit C# (CSharp) Method

Commit() public method

Commit all the operations of a transaction into the database. 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 Commit ( ) : void
return void
        public void Commit()
        {
            State = LightningTransactionState.Commited;
            StateChanging?.Invoke(State);
            mdb_txn_commit(_handle);
        }