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