Example #1
0
        public void Dispose()
        {
            if (!_finishedTransaction)
            {
                throw new TransactionException("The transaction needs to be completed by commit() or rollback() before you can dispose this item.");
            }

            CommandMySql.Dispose();

            Client.ReportDone();
        }
Example #2
0
 public void Dispose()
 {
     CommandMySql.Dispose();
     Client.ReportDone();
 }