Esempio n. 1
0
 public void DeleteFoodCate(EC_FoodCategory et)
 {
     cn.ImplementSQL(@"DELETE FROM FOODCATEGORY Where Id=N'" + et.Id + "'");
 }
Esempio n. 2
0
 public void UpdateFoodCate(EC_FoodCategory et)
 {
     cn.ImplementSQL("UPDATE FOODCATEGORY SET Name =N'" + et.Name + "'where ID=N'" + et.Id + "'");
 }
Esempio n. 3
0
 public void AddFoodCate(EC_FoodCategory et)
 {
     cn.ImplementSQL("insert into FOODCATEGORY (ID, Name) values(N'" + et.Id + "',N'" + et.Name + "')");
 }
Esempio n. 4
0
 public void DeleteFoodCate(EC_FoodCategory et)
 {
     sql.DeleteFoodCate(et);
 }
Esempio n. 5
0
 public void UpdateFoodCate(EC_FoodCategory et)
 {
     sql.UpdateFoodCate(et);
 }
Esempio n. 6
0
 public void AddFoodCate(EC_FoodCategory et)
 {
     sql.AddFoodCate(et);
 }