示例#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));
 }