Beispiel #1
0
        public void TestMethod2()
        {
            List <GoodsInfo> goodsInfoList = goodsInfoDal.GetAll();

            goodsInfo             = goodsInfoList[0];
            goodsInfo.description = "so hard!!!How can we go?";
            bool result = goodsInfoDal.Update(goodsInfo);

            Assert.AreEqual(true, result);
        }
Beispiel #2
0
 public bool Alter(GoodInfo gd)
 {
     return(gddal.Update(gd) > 0);
 }