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); }
public void ResetDefault(int ItemId, string id) { ChoicesTableAdapters.ItemOptionsInventoryTableAdapter adp = new lw.Products.ChoicesTableAdapters.ItemOptionsInventoryTableAdapter(); adp.ResetDefaults(ItemId, id); }
public Choices.ItemOptionsInventoryDataTable GetItemOptionsInventory(int ItemId) { ChoicesTableAdapters.ItemOptionsInventoryTableAdapter adp = new lw.Products.ChoicesTableAdapters.ItemOptionsInventoryTableAdapter(); return(adp.GetDataByItem(ItemId)); }