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