Пример #1
0
 internal Good(GoodEntity goodEntity)
 {
     Name  = goodEntity.Name;
     Price = goodEntity.Price;
     Type  = new GoodType(goodEntity.Type);
 }
Пример #2
0
 public Good(string name, decimal price, GoodType type) : this(name, price)
 {
     Type = type;
 }
 public PurchaseItem(string name, decimal price, string type, int amount) : this(name, price, amount)
 {
     Type = new GoodType(type);
 }
Пример #4
0
 public Good(string name, decimal price, string type) : this(name, price)
 {
     Type = new GoodType(type);
 }
 public PurchaseItem(string name, decimal price, GoodType type, int amount) : this(name, price, amount)
 {
     Type = type;
 }