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