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); }
public EmployeePayHistory ChangePayRate() { EmployeePayHistory current = CurrentEmployeePayHistory(); var eph = new EmployeePayHistory(); eph.Employee = this; eph.RateChangeDate = DateTime.Now.Date; eph.PayFrequency = current.PayFrequency; return(eph); }
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); }
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; }
public static EmployeePayHistory Updating(this EmployeePayHistory x, IContext context) => x with