Пример #1
0
 public virtual DataTable LoadDataFromSP(string procedureName, string nameSetToTable, string[] paramName, object[] paramValue)
 {
     try
     {
         return(baseFacade.LoadDataFromSP(procedureName, nameSetToTable, paramName, paramValue));
     }
     catch (FacadeException ex)
     {
         return(new DataTable());
     }
 }
Пример #2
0
 public virtual DataTable LoadDataFromSP(string procedureName, string nameSetToTable, string[] paramName, object[] paramValue)
 {
     try
     {
         return(baseFacade.LoadDataFromSP(procedureName, nameSetToTable, paramName, paramValue));
     }
     catch (FacadeException ex)
     {
         throw new BOException("Can not load data:" + ex.Message);
     }
 }