Ejemplo n.º 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);
     
 }
Ejemplo n.º 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("添加数据失败");
     
 }
Ejemplo n.º 3
0
 public void Upd(T_SYS_FILEUPLOAD obj)
 {
     //using (fileUploadBll = new FileUploadManagementBll())
     //{
     //    fileUploadBll.Update(obj);
     //}
     fileUploadBll = new FileUploadManagementBll();
     
         fileUploadBll.Update(obj);
     
 }