/// <summary> /// Create a new Employee object. /// </summary> /// <param name="employee_id">Initial value of the employee_id property.</param> /// <param name="person_id">Initial value of the person_id property.</param> /// <param name="department_id">Initial value of the department_id property.</param> public static Employee CreateEmployee(global::System.Guid employee_id, global::System.Guid person_id, global::System.Guid department_id) { Employee employee = new Employee(); employee.employee_id = employee_id; employee.person_id = person_id; employee.department_id = department_id; return employee; }
/// <summary> /// Deprecated Method for adding a new object to the Employees EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToEmployees(Employee employee) { base.AddObject("Employees", employee); }