Пример #1
0
 public int Execute()
 {
     try
     {
         prepareCommand(_innerCommand);
         return(_session.ExecuteCommand(_innerCommand));
     }
     catch (CommandFailureException ex)
     {
         ex.CommandName = Name;
         throw;
     }
     catch (Exception ex)
     {
         throw new CommandFailureException(Name, _innerCommand, ex);
     }
 }