Beispiel #1
0
 public void DeleteRow(OrderRow row)
 {
     if (row != null && row.ParentOrder == this)
     {
         _rows.Remove(row);
     }
 }
Beispiel #2
0
 public void DeleteRow(OrderRow row)
 {
     if (row != null && row.ParentOrder == this)
     {
         _rows.Remove(row);
     }
 }
Beispiel #3
0
 public OrderRow CreateRow(int productId, int quantity = 1)
 {
     var row = new OrderRow(this, productId);
         row.Quantity = quantity;
         _rows.Add(row);
         return row;
 }
Beispiel #4
0
 public OrderRow CreateRow(int productId, int quantity = 1)
 {
         var row = new OrderRow(this, productId);
         row.Quantity = quantity;
         _rows.Add(row);
         return row;
 }