public void RollbackTransaction() { if (_outTransaction == null) { throw (new Exception("BeginTransaction must be called before commit or rollback. No open transactions found")); } _outTransaction = null; }