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