Пример #1
0
        public List <Goods> SelectBy(int id)
        {
            GoodsInterface ti = dg.CreateGoods();

            return(ti.SelectBy(e => e.GoodsID == id));
        }
Пример #2
0
        public List <Goods> SelectBys(int id)
        {
            GoodsInterface gf = dg.CreateGoods();

            return(gf.SelectBy(e => e.TypeID == id));
        }
Пример #3
0
        //点击Shop查看这个商品的详细信息
        public List <Goods> SelectByDescripy(int id)
        {
            GoodsInterface gf = dg.CreateGoods();

            return(gf.SelectBy(e => e.GoodsID == id));
        }