Exemple #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);
        }
Exemple #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);
        }
Exemple #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);
        }
Exemple #4
0
 public void AddToEmployeePayHistories(EmployeePayHistory employeePayHistory)
 {
     base.AddObject("EmployeePayHistories", employeePayHistory);
 }
 public void AddToEmployeePayHistories(EmployeePayHistory employeePayHistory)
 {
     base.AddObject("EmployeePayHistories", employeePayHistory);
 }
 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;
 }
Exemple #7
0
 public static EmployeePayHistory Updating(this EmployeePayHistory x, IContext context) => x with