Пример #1
0
 public static bool Update(Stockout som)
 {
     return(HelperDal <Stockout> .Update(som, "SELECT * FROM stockout WHERE som_id=" + som.som_id));
 }
Пример #2
0
 public static bool Update(Site sit)
 {
     return(HelperDal <Site> .Update(sit, "SELECT * FROM site WHERE sit_id=" + sit.sit_id));
 }
Пример #3
0
 public static bool Update(Product prd)
 {
     return(HelperDal <Product> .Update(prd, "SELECT * FROM product WHERE prd_id=" + prd.prd_id));
 }
Пример #4
0
 public static bool Update(Supplier sup)
 {
     return(HelperDal <Supplier> .Update(sup, "SELECT * FROM supplier WHERE sup_id=" + sup.sup_id));
 }
Пример #5
0
 public static bool Update(Delivery dlm)
 {
     return(HelperDal <Delivery> .Update(dlm, "SELECT * FROM delivery WHERE dlm_id=" + dlm.dlm_id));
 }
Пример #6
0
 public static bool Update(DeliveryDetail dld)
 {
     return(HelperDal <DeliveryDetail> .Update(dld, "SELECT * FROM delivery_detail WHERE dlm_id=" + dld.dlm_id + " AND prd_id=" + dld.prd_id));
 }
Пример #7
0
 public static bool Update(Stock stk)
 {
     return(HelperDal <Stock> .Update(stk, "SELECT * FROM stock WHERE sit_id=" + stk.sit_id + " AND prd_id=" + stk.prd_id));
 }
Пример #8
0
 public static bool Update(PorderDetail pod)
 {
     return(HelperDal <PorderDetail> .Update(pod, "SELECT * FROM porder_detail WHERE pom_id=" + pod.pom_id + " AND prd_id=" + pod.prd_id));
 }
Пример #9
0
 public static bool Update(Department dep)
 {
     return(HelperDal <Department> .Update(dep, "SELECT * FROM department WHERE dep_id=" + dep.dep_id));
 }
Пример #10
0
 public static bool Update(Porder pom)
 {
     return(HelperDal <Porder> .Update(pom, "SELECT * FROM porder WHERE pom_id=" + pom.pom_id));
 }
Пример #11
0
 public static bool Update(Invoice inv)
 {
     return(HelperDal <Invoice> .Update(inv, "SELECT * FROM invoice WHERE inv_id=" + inv.inv_id));
 }
Пример #12
0
 public static bool Update(Log log)
 {
     return(HelperDal <Log> .Update(log, "SELECT * FROM log WHERE inv_id=" + log.log_id));
 }
Пример #13
0
 public static bool Update(StockoutDetail sod)
 {
     return(HelperDal <StockoutDetail> .Update(sod, "SELECT * FROM stockout_detail WHERE som_id=" + sod.som_id + " AND prd_id=" + sod.prd_id));
 }
Пример #14
0
 public static bool Update(Employee emp)
 {
     return(HelperDal <Employee> .Update(emp, "SELECT * FROM employee WHERE emp_id=" + emp.emp_id));
 }
Пример #15
0
 public static bool Update(Role rol)
 {
     return(HelperDal <Role> .Update(rol, "SELECT * FROM role WHERE rol_id=" + rol.rol_id));
 }