/// <summary> /// Deprecated Method for adding a new object to the HR_LKP_Departments EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToHR_LKP_Departments(HR_LKP_Departments hR_LKP_Departments) { base.AddObject("HR_LKP_Departments", hR_LKP_Departments); }
/// <summary> /// Create a new HR_LKP_Departments object. /// </summary> /// <param name="departmentID">Initial value of the DepartmentID property.</param> /// <param name="departmentName">Initial value of the DepartmentName property.</param> /// <param name="departmentRole">Initial value of the DepartmentRole property.</param> /// <param name="departmentDescription">Initial value of the DepartmentDescription property.</param> public static HR_LKP_Departments CreateHR_LKP_Departments(global::System.Int32 departmentID, global::System.String departmentName, global::System.String departmentRole, global::System.String departmentDescription) { HR_LKP_Departments hR_LKP_Departments = new HR_LKP_Departments(); hR_LKP_Departments.DepartmentID = departmentID; hR_LKP_Departments.DepartmentName = departmentName; hR_LKP_Departments.DepartmentRole = departmentRole; hR_LKP_Departments.DepartmentDescription = departmentDescription; return hR_LKP_Departments; }