Esempio n. 1
0
 public void Abort()
 {
     if (null != m_QTransaction)
     {
         m_QTransaction.Abort();
     }
 }
Esempio n. 2
0
 public void Execute()
 {
     try
     {
         _Cmd.Execute();
         if (null != _Transaction)
         {
             _Transaction.Commit();
         }
     }
     catch
     {
         if (null != _Transaction)
         {
             _Transaction.Abort();
         }
         throw;
     }
 }