Esempio n. 1
0
        public void deleteRate(RateDataRow deleteRow)
        {
            SqlParameter[] sqlParams = base.GetParameters("DeleteRateCodeAll");

            // RateSeqNum
            sqlParams[fld_RateSeqNum].Value = deleteRow.RateID;

            base.ExecuteDelete("DeleteRateCodeAll", sqlParams);
        }
Esempio n. 2
0
        public RateDataRow fillMainRateDataRow()
        {
            RateDataRow rateRow = new RateDataRow();

            rateRow.RateID = this.ID;
            rateRow.RateScheduleID = this.RateScheduleID;

            rateRow.InOut = this.InOut;
            rateRow.RateCategory = this.RateCategory;
            rateRow.RateType = this.RateType;
            rateRow.Name = this.Name;

            return rateRow;
        }