/// <summary> /// Constructor for new Order /// </summary> public Order() { loadDataSet(); addNewRecord(); _orderLine = new OrderLine(_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 Order(long pLongID) { _lngPKID = pLongID; loadDataSet(); _orderLine = new OrderLine(_dst, _lngPKID); createRelationship(); assignFields(); }