示例#1
0
        public void ChargeDetailsDelete(int chargeId)
        {
            try
            {
                DALComponent dalComponent = new DALComponent();
                dalComponent.SetParameters("@chargeId", SqlDbType.Int, 4, chargeId);
                dalComponent.SqlCommandText = "[ChargeDetailsDelete]";
                int x = dalComponent.DeleteRecord();
            }
            catch (Exception)
            {

                throw;
            }
        }
示例#2
0
        public void CategoryGroupDelete(int catid)
        {
            try
            {
                DALComponent dalComponent = new DALComponent();
                dalComponent.SetParameters("@categoryGroupId", SqlDbType.Int, 4, catid);
                dalComponent.SqlCommandText = "CategoryGroupDelete";
                int x = dalComponent.DeleteRecord();
            }
            catch (Exception)
            {

                throw;
            }
        }
示例#3
0
        public void AdPostDeleteById(int adpostId)
        {
            try
            {
                dalComponent = new DALComponent();
                dalComponent.SetParameters("@adpostId", SqlDbType.Int, 4, adpostId);
                dalComponent.SqlCommandText = "AdPostDeleteById";
                int x = dalComponent.DeleteRecord();
            }
            catch (Exception)
            {

                throw;
            }
        }