예제 #1
0
 public bool UpdateStocks(EL.Transactions.Inventories inventoryEL)
 {
     return(Helper.executeNonQueryBool("update inventories set quantityinstocks = '" + inventoryEL.Quantityinstocks + "', inventorylastupdated = '" + inventoryEL.Inventorylastupdated + "' where inventoryid = '" + inventoryEL.Inventoryid + "'"));
 }
예제 #2
0
 public bool Update(EL.Transactions.Inventories inventoryEL)
 {
     return(Helper.executeNonQueryBool("update inventories set reorderlevel = '" + inventoryEL.Reorderlevel + "', inventorylastupdated = '" + DateTime.Today.ToString("yyyy-MM-dd") + "'  where inventoryid = '" + inventoryEL.Inventoryid + "'"));
 }
예제 #3
0
 public bool UpdateStocks(EL.Transactions.Inventories inventoryEL)
 {
     return(InventoryDL.UpdateStocks(inventoryEL));
 }
예제 #4
0
 public long Insert(EL.Transactions.Inventories inventoryEL)
 {
     return(Helper.executeNonQueryLong("insert into inventories (productid, quantityinstocks, reorderlevel, inventorylastupdated) values ('" + inventoryEL.Productid + "', '" + inventoryEL.Quantityinstocks + "', '" + inventoryEL.Reorderlevel + "', '" + DateTime.Today.ToString("yyyy-MM-dd") + "' )"));
 }
예제 #5
0
 public long Insert(EL.Transactions.Inventories inventoryEL)
 {
     return(InventoryDL.Insert(inventoryEL));
 }