/// <summary> /// Create a new EmployeePayHistory object. /// </summary> /// <param name="employeeID">Initial value of the EmployeeID property.</param> /// <param name="rateChangeDate">Initial value of the RateChangeDate property.</param> /// <param name="rate">Initial value of the Rate property.</param> /// <param name="payFrequency">Initial value of the PayFrequency property.</param> /// <param name="modifiedDate">Initial value of the ModifiedDate property.</param> public static EmployeePayHistory CreateEmployeePayHistory(global::System.Int32 employeeID, global::System.DateTime rateChangeDate, global::System.Decimal rate, global::System.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; }
/// <summary> /// Deprecated Method for adding a new object to the EmployeePayHistories EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToEmployeePayHistories(EmployeePayHistory employeePayHistory) { base.AddObject("EmployeePayHistories", employeePayHistory); }