Example #1
0
 /// <summary>
 /// Determines if the record is a child proposedOrder of another order.
 /// </summary>
 /// <param name="proposedOrderRow"></param>
 /// <returns>True if the order is a child of another propsosed order.</returns>
 public static bool IsChildProposedOrder(DataModel.ProposedOrderRow proposedOrderRow)
 {
     // This assumes only one level of hierarchy to the order, but returns true of the order is a child of another
     // proposedOrder.
     return((proposedOrderRow.GetProposedOrderTreeRowsByFKProposedOrderProposedOrderTreeChildId().Length > 0) ?
            true : false);
 }