示例#1
0
文件: Order.cs 项目: blooksa/RxWebApp
 public void DeleteRow(OrderRow row)
 {
     if (row != null && row.ParentOrder == this)
     {
         _rows.Remove(row);
     }
 }
示例#2
0
 public void DeleteRow(OrderRow row)
 {
     if (row != null && row.ParentOrder == this)
     {
         _rows.Remove(row);
     }
 }
示例#3
0
文件: Order.cs 项目: blooksa/RxWebApp
 public OrderRow CreateRow(int productId, int quantity = 1)
 {
     var row = new OrderRow(this, productId);
         row.Quantity = quantity;
         _rows.Add(row);
         return row;
 }
示例#4
0
 public OrderRow CreateRow(int productId, int quantity = 1)
 {
         var row = new OrderRow(this, productId);
         row.Quantity = quantity;
         _rows.Add(row);
         return row;
 }