Beispiel #1
0
 public Order()
 {
     ID        = 0;
     Customer  = "";
     itemList  = new nlist <OrderItem>();
     CreatTime = DateTime.Now;
 }
Beispiel #2
0
 public Order(int orderID, string costumer, nlist <OrderItem> list) : this()
 {
     this.Customer = costumer;
     this.ID       = orderID;
     this.itemList = new nlist <OrderItem>();
     foreach (object o in list)
     {
         this.itemList.Add(o as OrderItem);
     }
 }
Beispiel #3
0
 public Order()
 {
     ID       = 0;
     Customer = "";
     itemList = new nlist <OrderItem>();
 }