public void CommitTransaction() { if (this.Transaction == null) { throw new MapperException("No transaction to commit."); } this.Transaction.Commit(); }