public void AddToStockTakeLineItem(StockTakeLineItem stockTakeLineItem) { base.AddObject("StockTakeLineItem", stockTakeLineItem); }
public static StockTakeLineItem CreateStockTakeLineItem(int stockTakeLineItemID, bool withRunners, bool isCasting) { StockTakeLineItem stockTakeLineItem = new StockTakeLineItem(); stockTakeLineItem.StockTakeLineItemID = stockTakeLineItemID; stockTakeLineItem.WithRunners = withRunners; stockTakeLineItem.IsCasting = isCasting; return stockTakeLineItem; }