Beispiel #1
0
 protected void Execute(IQSimpleCommand cmd)
 {
     try
     {
         cmd.Execute();
     }
     catch (Exception ex)
     {
         DoEventManagerDispatchCommandException(this, ex, cmd);
     }
 }
 public void Execute()
 {
     try
     {
         _Cmd.Execute();
         if (null != _Transaction)
         {
             _Transaction.Commit();
         }
     }
     catch
     {
         if (null != _Transaction)
         {
             _Transaction.Abort();
         }
         throw;
     }
 }
 protected void Execute(IQSimpleCommand cmd)
 {
     try
     {
         cmd.Execute ();
     }
     catch (Exception ex)
     {
         DoEventManagerDispatchCommandException (this, ex, cmd);
     }
 }