/// <summary> /// Deprecated Method for adding a new object to the vEmployeeDepartments EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddTovEmployeeDepartments(vEmployeeDepartment vEmployeeDepartment) { base.AddObject("vEmployeeDepartments", vEmployeeDepartment); }
/// <summary> /// Create a new vEmployeeDepartment object. /// </summary> /// <param name="employeeID">Initial value of the EmployeeID property.</param> /// <param name="firstName">Initial value of the FirstName property.</param> /// <param name="lastName">Initial value of the LastName property.</param> /// <param name="jobTitle">Initial value of the JobTitle property.</param> /// <param name="department">Initial value of the Department property.</param> /// <param name="groupName">Initial value of the GroupName property.</param> /// <param name="startDate">Initial value of the StartDate property.</param> public static vEmployeeDepartment CreatevEmployeeDepartment(global::System.Int32 employeeID, global::System.String firstName, global::System.String lastName, global::System.String jobTitle, global::System.String department, global::System.String groupName, global::System.DateTime startDate) { vEmployeeDepartment vEmployeeDepartment = new vEmployeeDepartment(); vEmployeeDepartment.EmployeeID = employeeID; vEmployeeDepartment.FirstName = firstName; vEmployeeDepartment.LastName = lastName; vEmployeeDepartment.JobTitle = jobTitle; vEmployeeDepartment.Department = department; vEmployeeDepartment.GroupName = groupName; vEmployeeDepartment.StartDate = startDate; return vEmployeeDepartment; }