Esempio n. 1
0
        // Gets an order with customer and orderlines
        public Order GetOrder(int id)
        {
            Order o = orderDB.Get(id);

            o.Customer = customerDB.Get("customerID", o.Customer.ID.ToString());

            o.Orderlines = orderLineDB.GetOrderlinesByOrderID(o.ID);

            return(o);
        }
Esempio n. 2
0
 public static Order Order_Get(int orderID)
 {
     return(OrderDB.Get(orderID));
 }
Esempio n. 3
0
 public static List <OrderDetails> GetOrder(int orderID)
 {
     return(OrderDB.Get(orderID));
 }
Esempio n. 4
0
 public static Order GetOrder(int orderID)
 {
     return(OrderDB.Get(orderID));
 }
Esempio n. 5
0
 public static Order GetOrder(int id)
 {
     return(OrderDB.Get(id));
 }