예제 #1
0
 /// <summary>
 ///
 /// </summary>
 /// <param name="exp"></param>
 /// <param name="FieldOrder">Tên cột cần Order</param>
 /// <param name="OrderBy">ASC or DESC</param>
 /// <returns>ArrayList</returns>
 public ArrayList FindByExpressionWithOrder(Expression exp, string FieldOrder, string Order)
 {
     try
     {
         return(baseFacade.FindByExpressionWithOrder(exp, FieldOrder, Order));
     }
     catch (FacadeException e)
     {
         return(new ArrayList());
     }
 }
예제 #2
0
 /// <summary>
 ///
 /// </summary>
 /// <param name="exp"></param>
 /// <param name="FieldOrder">Tên cột cần Order</param>
 /// <param name="OrderBy">ASC or DESC</param>
 /// <returns>ArrayList</returns>
 public ArrayList FindByExpressionWithOrder(Expression exp, string FieldOrder, string Order)
 {
     try
     {
         return(baseFacade.FindByExpressionWithOrder(exp, FieldOrder, Order));
     }
     catch (FacadeException e)
     {
         throw new BOException("Can not execute the FindByExpressionWithOrder method: " + e.Message);
     }
 }