예제 #1
0
        public void DeleteGiftVoucherProductReleationBySysNo(GiftVoucherProductRelation item)
        {
            DataCommand cmd = DataCommandManager.GetDataCommand("GiftCard_DeleteGiftVoucherRelationBySysNo");

            cmd.SetParameterValue("@SysNo", item.SysNo);
            cmd.ExecuteNonQuery();
        }
예제 #2
0
        public int SaveGiftVoucherProductRelation(GiftVoucherProductRelation item)
        {
            DataCommand cmd = DataCommandManager.GetDataCommand("GiftCard_SaveGiftVoucherRelationInfo");

            cmd.SetParameterValue <GiftVoucherProductRelation>(item);
            return(cmd.ExecuteScalar <int>());
        }
예제 #3
0
        public void UpdateGiftVoucherProductRelationStatus(GiftVoucherProductRelation item)
        {
            DataCommand cmd = DataCommandManager.GetDataCommand("GiftCard_UpdateGiftVoucherRelationStatus");

            cmd.SetParameterValue("@SysNo", item.SysNo);
            cmd.SetParameterValue("@Status", item.Status);

            cmd.ExecuteNonQuery();
        }