Esempio n. 1
0
 internal Good(GoodEntity goodEntity)
 {
     Name  = goodEntity.Name;
     Price = goodEntity.Price;
     Type  = new GoodType(goodEntity.Type);
 }
Esempio n. 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);
 }
Esempio n. 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;
 }