Пример #1
0
        void DeleteConfigIfExist(long goodsID, IDmoSession session)
        {
            var deleteDom = new DQDeleteDom(typeof(GoodsReferencePrice));

            deleteDom.Where.Conditions.Add(DQCondition.EQ("Goods_ID", goodsID));
            session.ExecuteNonQuery(deleteDom);
        }
Пример #2
0
        void DeleteConfigIfExist(long goodsID, IDmoSession session)
        {
            var deleteDom = new DQDeleteDom(typeof(ChengPinToBanChengPinConfig));

            deleteDom.Where.Conditions.Add(DQCondition.EQ("Goods_ID", goodsID));
            session.ExecuteNonQuery(deleteDom);
        }