/// <summary> /// Create a new employee object. /// </summary> /// <param name="emp_no">Initial value of the emp_no property.</param> /// <param name="birth_date">Initial value of the birth_date property.</param> /// <param name="first_name">Initial value of the first_name property.</param> /// <param name="last_name">Initial value of the last_name property.</param> /// <param name="gender">Initial value of the gender property.</param> /// <param name="hire_date">Initial value of the hire_date property.</param> public static employee Createemployee(global::System.Int32 emp_no, global::System.DateTime birth_date, global::System.String first_name, global::System.String last_name, global::System.String gender, global::System.DateTime hire_date) { employee employee = new employee(); employee.emp_no = emp_no; employee.birth_date = birth_date; employee.first_name = first_name; employee.last_name = last_name; employee.gender = gender; employee.hire_date = hire_date; 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); }