static void DeleteGoodsInfo()
        {
            int          id          = 1;
            GoodsInfoDal sortInfoDal = new GoodsInfoDal();
            var          d           = sortInfoDal.Delete(id);

            if (d)
            {
                Console.WriteLine("成功");
            }
            else
            {
                Console.WriteLine("失败");
            }
        }
Example #2
0
 public bool Move(int id)
 {
     return(gddal.Delete(id) > 0);
 }