Beispiel #1
0
 public PriceRecord(int recordId, ProductShop productShop, double price, DateTime priceDate)
 {
     RecordId    = recordId;
     ProductShop = productShop;
     Price       = price;
     PriceDate   = priceDate;
 }
 public void RemoveProduct(ProductShop p)
 {
     Products.Remove(p);
 }
 public void AddProduct(ProductShop productShop)
 {
     Products.Add(productShop);
 }