예제 #1
0
 public static void DinnertEkle(CalC.DataAccess.dinner food)
 {
     CalC.DataAccess.Entities ent = new DataAccess.Entities();
     ent.dinner.Add(food);
     ent.SaveChanges();
 }
예제 #2
0
 public static void BreakfastEkle(CalC.DataAccess.breakfast food)
 {
     CalC.DataAccess.Entities ent = new DataAccess.Entities();
     ent.breakfast.Add(food);
     ent.SaveChanges();
 }
 public static void LunchEkle(CalC.DataAccess.lunch food)
 {
     CalC.DataAccess.Entities ent = new DataAccess.Entities();
     ent.lunch.Add(food);
     ent.SaveChanges();
 }