Пример #1
0
        public EmployeePayHistory ChangePayRate()
        {
            EmployeePayHistory current = CurrentEmployeePayHistory();
            var eph = Container.NewTransientInstance <EmployeePayHistory>();

            eph.Employee       = this;
            eph.RateChangeDate = DateTime.Now.Date;
            eph.PayFrequency   = current.PayFrequency;
            return(eph);
        }
Пример #2
0
        public EmployeePayHistory ChangePayRate()
        {
            EmployeePayHistory current = CurrentEmployeePayHistory();
            var eph = new EmployeePayHistory();

            eph.Employee       = this;
            eph.RateChangeDate = DateTime.Now.Date;
            eph.PayFrequency   = current.PayFrequency;
            return(eph);
        }
Пример #3
0
        public static EmployeePayHistory CreateEmployeePayHistory(int employeeID, global::System.DateTime rateChangeDate, decimal rate, byte payFrequency, global::System.DateTime modifiedDate)
        {
            EmployeePayHistory employeepayhistory = new EmployeePayHistory();

            employeepayhistory.EmployeeID     = employeeID;
            employeepayhistory.RateChangeDate = rateChangeDate;
            employeepayhistory.Rate           = rate;
            employeepayhistory.PayFrequency   = payFrequency;
            employeepayhistory.ModifiedDate   = modifiedDate;
            return(employeepayhistory);
        }
Пример #4
0
 public void AddToEmployeePayHistories(EmployeePayHistory employeePayHistory)
 {
     base.AddObject("EmployeePayHistories", employeePayHistory);
 }
Пример #5
0
 public void AddToEmployeePayHistories(EmployeePayHistory employeePayHistory)
 {
     base.AddObject("EmployeePayHistories", employeePayHistory);
 }
Пример #6
0
 public static EmployeePayHistory CreateEmployeePayHistory (int employeeID , global::System.DateTime rateChangeDate , decimal rate , byte payFrequency , global::System.DateTime modifiedDate)
 {
     EmployeePayHistory employeepayhistory = new EmployeePayHistory();
     employeepayhistory.EmployeeID = employeeID;
     employeepayhistory.RateChangeDate = rateChangeDate;
     employeepayhistory.Rate = rate;
     employeepayhistory.PayFrequency = payFrequency;
     employeepayhistory.ModifiedDate = modifiedDate;
     return employeepayhistory;
 }
Пример #7
0
 public static EmployeePayHistory Updating(this EmployeePayHistory x, IContext context) => x with