/// <summary> /// Create a new EmployeeDepartmentHistory object. /// </summary> /// <param name="employeeID">Initial value of the EmployeeID property.</param> /// <param name="departmentID">Initial value of the DepartmentID property.</param> /// <param name="shiftID">Initial value of the ShiftID property.</param> /// <param name="startDate">Initial value of the StartDate property.</param> /// <param name="modifiedDate">Initial value of the ModifiedDate property.</param> public static EmployeeDepartmentHistory CreateEmployeeDepartmentHistory(global::System.Int32 employeeID, global::System.Int16 departmentID, global::System.Byte shiftID, global::System.DateTime startDate, global::System.DateTime modifiedDate) { EmployeeDepartmentHistory employeeDepartmentHistory = new EmployeeDepartmentHistory(); employeeDepartmentHistory.EmployeeID = employeeID; employeeDepartmentHistory.DepartmentID = departmentID; employeeDepartmentHistory.ShiftID = shiftID; employeeDepartmentHistory.StartDate = startDate; employeeDepartmentHistory.ModifiedDate = modifiedDate; return employeeDepartmentHistory; }
/// <summary> /// Deprecated Method for adding a new object to the EmployeeDepartmentHistories EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToEmployeeDepartmentHistories(EmployeeDepartmentHistory employeeDepartmentHistory) { base.AddObject("EmployeeDepartmentHistories", employeeDepartmentHistory); }