Exemplo n.º 1
0
 public static bool Delete(int Id)
 {
     try
     {
         return(SE_DictionaryConfigDAL.Delete(ProcessConnection.OpenConfiguration, Id));
     }
     catch (Exception ex)
     {
         throw ex;
     }
 }
Exemplo n.º 2
0
 public static bool Update(SE_DictionaryConfigModel model)
 {
     try
     {
         return(SE_DictionaryConfigDAL.Update(ProcessConnection.OpenConfiguration, model));
     }
     catch (Exception ex)
     {
         throw ex;
     }
 }
Exemplo n.º 3
0
 public static SE_DictionaryConfigModel GetEntity(int ParentId)
 {
     try
     {
         return(SE_DictionaryConfigDAL.GetEntity(ProcessConnection.OpenConfigurationReadOnly, ParentId));
     }
     catch (Exception ex)
     {
         throw ex;
     }
 }
Exemplo n.º 4
0
 public static IEnumerable <SE_DictionaryConfigModel> SelectPages(int pageIndex = 1, int pageSize = 20, string strWhere = "")
 {
     try
     {
         return(SE_DictionaryConfigDAL.SelectPages(ProcessConnection.OpenConfigurationReadOnly, pageIndex, pageSize, strWhere));
     }
     catch (Exception ex)
     {
         throw ex;
     }
 }
Exemplo n.º 5
0
 public static bool Insert(SE_DictionaryConfigModel model)
 {
     try
     {
         return(SE_DictionaryConfigDAL.Insert(ProcessConnection.OpenConfiguration, model));
     }
     catch (Exception ex)
     {
         Logger.Info($"赠品插入失败日志=>{ex}-{ex.InnerException}-{ex.StackTrace}");
         throw ex;
     }
 }