Пример #1
0
 /// <summary>
 /// Add detail to DB
 /// </summary>
 /// <param name="orderId"></param>
 /// <param name="productId"></param>
 /// <param name="amount"></param>
 /// <param name="price"></param>
 public BLOrderDetailsDB(int orderId, int productId, int amount, double price)
 {
     this.Id        = OrderDetails.AddDetail(orderId, productId, amount, price);
     this.orderId   = orderId;
     this.productId = productId;
     this.amount    = amount;
     this.price     = price;
 }