예제 #1
0
        public void Update(int Id, int Month, int Year, DateTime Openuntil, bool IsDeleted, DateTime?CreatedOn, string CreatedBy, DateTime?ModifiedOn, string ModifiedBy)
        {
            BillingPeriod item = new BillingPeriod();

            item.Id = Id;

            item.Month = Month;

            item.Year = Year;

            item.Openuntil = Openuntil;

            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, DateTime OpenUntil)
        {
            BillingPeriod item = new BillingPeriod(Id);

            item.Openuntil = OpenUntil;

            item.MarkOld();

            item.Save(UserName);
        }