public Choices.ItemOptionsInventoryViewDataTable GetItemOptionInventory(int ItemId, string key) { ChoicesTableAdapters.ItemOptionsInventoryViewTableAdapter adp = new lw.Products.ChoicesTableAdapters.ItemOptionsInventoryViewTableAdapter(); return(adp.GetDataByKey(key, ItemId)); }
public Choices.ItemOptionsInventoryViewDataTable GetItemOptionInventory(int ItemId) { ChoicesTableAdapters.ItemOptionsInventoryViewTableAdapter adp = new lw.Products.ChoicesTableAdapters.ItemOptionsInventoryViewTableAdapter(); return(adp.GetByItem(ItemId)); }