Exemple #1
0
        public void Update(int Id, int Periodaccountid, int Groupid, double Rate, bool IsDeleted, DateTime?CreatedOn, string CreatedBy, DateTime?ModifiedOn, string ModifiedBy)
        {
            BillingRate item = new BillingRate();

            item.Id = Id;

            item.Periodaccountid = Periodaccountid;

            item.Groupid = Groupid;

            item.Rate = Rate;

            item.IsDeleted = IsDeleted;

            item.CreatedOn = CreatedOn;

            item.CreatedBy = CreatedBy;

            item.ModifiedOn = ModifiedOn;

            item.ModifiedBy = ModifiedBy;

            item.MarkOld();
            item.Save(UserName);
        }
Exemple #2
0
        public void Update(Int32 id, Double rate)
        {
            BillingRate item = FetchByID(id)[0];

            item.Rate = rate;
            item.MarkOld();
            item.Save(UserName);
        }