示例#1
0
        public void FillToppingTable(List <string> tl)
        {
            ToppingL   t       = new ToppingL();
            List <int> Topping = new List <int>();

            foreach (string item in tl)
            {
                Topping.Add(t.FindToppingByName(item));
            }

            EFData ef = new EFData();

            ef.AddPizzaTopping(Topping);
        }