Пример #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);
        }
Пример #2
0
        public void Update(Int32 id, Double rate)
        {
            BillingRate item = FetchByID(id)[0];

            item.Rate = rate;
            item.MarkOld();
            item.Save(UserName);
        }
Пример #3
0
 public bool Destroy(object Id)
 {
     return(BillingRate.Destroy(Id) == 1);
 }
Пример #4
0
 public bool Delete(object Id)
 {
     return(BillingRate.Delete(Id) == 1);
 }