/// <summary> /// Constructor for new Order /// </summary> public OrderClass() { loadDataSet(); addNewRecord(); _orderLine = new OrderLineClass(_dst, _lngPKID); createRelationship(); }
/// <summary> /// Constructor for existing Order /// </summary> /// <param name="pLongID">The record ID of the order that will be used in this class</param> public OrderClass(long pLongID) { _lngPKID = pLongID; loadDataSet(); _orderLine = new OrderLineClass(_dst, _lngPKID); createRelationship(); assignFields(); }