Exemplo n.º 1
0
 public DataSet ExecuteDataSet()
 {
     try
     {
         prepareCommand(_innerCommand);
         return(_session.ExecuteDataSet(_innerCommand));
     }
     catch (CommandFailureException ex)
     {
         ex.CommandName = Name;
         throw;
     }
     catch (Exception ex)
     {
         throw new CommandFailureException(Name, _innerCommand, ex);
     }
 }