Пример #1
0
 public int Delete(T_SYS_FILEUPLOAD obj)
 {
     //using (fileUploadBll = new FileUploadManagementBll())
     //{
     //    return fileUploadBll.Del(obj.FILEUPLOADID);
     //}
     fileUploadBll = new FileUploadManagementBll();
     
         return fileUploadBll.Del(obj.FILEUPLOADID);
     
 }
Пример #2
0
 public void Add(T_SYS_FILEUPLOAD obj)
 {
     //using (fileUploadBll = new FileUploadManagementBll())
     //{
     //    bool sucess = fileUploadBll.Add(obj);
     //    if (sucess == false)
     //        throw new Exception("添加数据失败");
     //}
     fileUploadBll = new FileUploadManagementBll();
     
         bool sucess = fileUploadBll.Add(obj);
         if (sucess == false)
             throw new Exception("添加数据失败");
     
 }
Пример #3
0
 public void Upd(T_SYS_FILEUPLOAD obj)
 {
     //using (fileUploadBll = new FileUploadManagementBll())
     //{
     //    fileUploadBll.Update(obj);
     //}
     fileUploadBll = new FileUploadManagementBll();
     
         fileUploadBll.Update(obj);
     
 }