/// <summary> /// Create a new TSTEmployee object. /// </summary> /// <param name="employeeID">Initial value of the EmployeeID property.</param> /// <param name="fName">Initial value of the FName property.</param> /// <param name="lName">Initial value of the LName property.</param> /// <param name="empDepartmentID">Initial value of the EmpDepartmentID property.</param> public static TSTEmployee CreateTSTEmployee(global::System.Int32 employeeID, global::System.String fName, global::System.String lName, global::System.Int32 empDepartmentID) { TSTEmployee tSTEmployee = new TSTEmployee(); tSTEmployee.EmployeeID = employeeID; tSTEmployee.FName = fName; tSTEmployee.LName = lName; tSTEmployee.EmpDepartmentID = empDepartmentID; return(tSTEmployee); }
/// <summary> /// Deprecated Method for adding a new object to the TSTEmployees EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToTSTEmployees(TSTEmployee tSTEmployee) { base.AddObject("TSTEmployees", tSTEmployee); }