Esempio n. 1
0
 public static string IsExistsPId(string pid)
 {
     try
     {
         return(SE_MDRecommendConfigDAL.IsExistsPId(ProcessConnection.OpenGungnirReadOnly, pid));
     }
     catch (Exception ex)
     {
         throw ex;
     }
 }
Esempio n. 2
0
 public static bool Delete(int Id)
 {
     try
     {
         return(SE_MDRecommendConfigDAL.Delete(ProcessConnection.OpenTuhu_Groupon, Id));
     }
     catch (Exception ex)
     {
         throw ex;
     }
 }
Esempio n. 3
0
 public static bool Update(SE_MDRecommendConfigModel model)
 {
     try
     {
         return(SE_MDRecommendConfigDAL.Update(ProcessConnection.OpenTuhu_Groupon, model));
     }
     catch (Exception ex)
     {
         throw ex;
     }
 }
Esempio n. 4
0
 public static SE_MDRecommendConfigModel GetEntity(int Id)
 {
     try
     {
         return(SE_MDRecommendConfigDAL.GetEntity(ProcessConnection.OpenTuhu_GrouponReadOnly, Id));
     }
     catch (Exception ex)
     {
         throw ex;
     }
 }
Esempio n. 5
0
 public static SE_MDRecommendConfigModel GetProducts(int part, int type, int vtype)
 {
     try
     {
         return(SE_MDRecommendConfigDAL.GetProducts(ProcessConnection.OpenTuhu_GrouponReadOnly, part, type, vtype));
     }
     catch (Exception ex)
     {
         throw ex;
     }
 }
Esempio n. 6
0
 public static IEnumerable <SE_MDRecommendConfigModel> SelectPages(int pageIndex = 1, int pageSize = 20, string strWhere = "")
 {
     try
     {
         return(SE_MDRecommendConfigDAL.SelectPages(ProcessConnection.OpenTuhu_GrouponReadOnly, pageIndex, pageSize, strWhere));
     }
     catch (Exception ex)
     {
         throw ex;
     }
 }