/// <summary> /// Create a new Employee object. /// </summary> /// <param name="employee_ID">Initial value of the Employee_ID property.</param> /// <param name="last_Name">Initial value of the Last_Name property.</param> /// <param name="first_Name">Initial value of the First_Name property.</param> public static Employee CreateEmployee(global::System.Int32 employee_ID, global::System.String last_Name, global::System.String first_Name) { Employee employee = new Employee(); employee.Employee_ID = employee_ID; employee.Last_Name = last_Name; employee.First_Name = first_Name; 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); }