Exemplo n.º 1
0
        public void Insert(decimal Rate, string RegionCode, string CreatedBy, DateTime CreatedOn, string ModifiedBy, DateTime ModifiedOn)
        {
            RegionCodeTaxRate item = new RegionCodeTaxRate();

            item.Rate = Rate;

            item.RegionCode = RegionCode;

            item.CreatedBy = CreatedBy;

            item.CreatedOn = CreatedOn;

            item.ModifiedBy = ModifiedBy;

            item.ModifiedOn = ModifiedOn;


            item.Save(UserName);
        }
Exemplo n.º 2
0
        public void Update(int RegionCodeTaxRateId, decimal Rate, string RegionCode, string CreatedBy, DateTime CreatedOn, string ModifiedBy, DateTime ModifiedOn)
        {
            RegionCodeTaxRate item = new RegionCodeTaxRate();

            item.RegionCodeTaxRateId = RegionCodeTaxRateId;

            item.Rate = Rate;

            item.RegionCode = RegionCode;

            item.CreatedBy = CreatedBy;

            item.CreatedOn = CreatedOn;

            item.ModifiedBy = ModifiedBy;

            item.ModifiedOn = ModifiedOn;

            item.MarkOld();
            item.Save(UserName);
        }