Exemple #1
0
 public void UpdateOptionsInventory(int ItemId, string key, float inventory, bool isDefault)
 {
     ChoicesTableAdapters.ItemOptionsInventoryTableAdapter adp = new lw.Products.ChoicesTableAdapters.ItemOptionsInventoryTableAdapter();
     adp.UpdateInventory((double)inventory, isDefault, ItemId, key);
 }
Exemple #2
0
 public void ResetDefault(int ItemId, string id)
 {
     ChoicesTableAdapters.ItemOptionsInventoryTableAdapter adp = new lw.Products.ChoicesTableAdapters.ItemOptionsInventoryTableAdapter();
     adp.ResetDefaults(ItemId, id);
 }
Exemple #3
0
 public Choices.ItemOptionsInventoryDataTable GetItemOptionsInventory(int ItemId)
 {
     ChoicesTableAdapters.ItemOptionsInventoryTableAdapter adp = new lw.Products.ChoicesTableAdapters.ItemOptionsInventoryTableAdapter();
     return(adp.GetDataByItem(ItemId));
 }