static void DeleteGoodsInfo() { int id = 1; GoodsInfoDal sortInfoDal = new GoodsInfoDal(); var d = sortInfoDal.Delete(id); if (d) { Console.WriteLine("成功"); } else { Console.WriteLine("失败"); } }
public bool Move(int id) { return(gddal.Delete(id) > 0); }