Esempio n. 1
0
 public static PizzaWebApp.Models.Inventorypizzas UpdateMap(Data.Inventorypizzas inventorypizzas) => new PizzaWebApp.Models.Inventorypizzas
 {
     Storeid        = inventorypizzas.Storeid,
     Pizzaname      = inventorypizzas.Pizzaname,
     Itemamount     = inventorypizzas.Itemamount,
     Inventpizzasid = inventorypizzas.Inventpizzasid,
 };
Esempio n. 2
0
 public static Mods.Inventorypizzas StoreinventMap(Data.Inventorypizzas inventpizzas) => new Mods.Inventorypizzas
 {
     Storeid        = inventpizzas.Storeid,
     Pizzaname      = inventpizzas.Pizzaname,
     Itemamount     = inventpizzas.Itemamount,
     Inventpizzasid = inventpizzas.Inventpizzasid,
 };
 public static Library.Inventorypizzas Map(Inventorypizzas inventorypizzas) => new Library.Inventorypizzas
 {
     Storeid        = inventorypizzas.Storeid,
     Pizzaname      = inventorypizzas.Pizzaname,
     Itemamount     = inventorypizzas.Itemamount,
     Inventpizzasid = inventorypizzas.Inventpizzasid,
     ///   PizzanameNavigation = Map(inventorypizzas.PizzanameNavigation),
     //   Store = Map(inventorypizzas.Store),
 };
Esempio n. 4
0
 public void Updateinventpizza(Mods.Inventorypizzas inventpizzas)
 {
     Data.Inventorypizzas changedpizzainvent = UpdateMap(inventpizzas);
     _db.Update(changedpizzainvent);
     Save();
 }