Nettiers.AdventureWorks.Entities.VEmployeeDepartmentHistoryBase.CreateVEmployeeDepartmentHistory C# (CSharp) Method

CreateVEmployeeDepartmentHistory() public static method

A simple factory method to create a new VEmployeeDepartmentHistory instance.
public static CreateVEmployeeDepartmentHistory ( System _employeeId, System _title, System _firstName, System _middleName, System _lastName, System _suffix, System _shift, System _department, System _groupName, System _startDate, System _endDate ) : VEmployeeDepartmentHistory
_employeeId System
_title System
_firstName System
_middleName System
_lastName System
_suffix System
_shift System
_department System
_groupName System
_startDate System
_endDate System
return VEmployeeDepartmentHistory
		public static VEmployeeDepartmentHistory CreateVEmployeeDepartmentHistory(System.Int32 _employeeId, System.String _title, System.String _firstName, System.String _middleName, System.String _lastName, System.String _suffix, System.String _shift, System.String _department, System.String _groupName, System.DateTime _startDate, System.DateTime? _endDate)
		{
			VEmployeeDepartmentHistory newVEmployeeDepartmentHistory = new VEmployeeDepartmentHistory();
			newVEmployeeDepartmentHistory.EmployeeId = _employeeId;
			newVEmployeeDepartmentHistory.Title = _title;
			newVEmployeeDepartmentHistory.FirstName = _firstName;
			newVEmployeeDepartmentHistory.MiddleName = _middleName;
			newVEmployeeDepartmentHistory.LastName = _lastName;
			newVEmployeeDepartmentHistory.Suffix = _suffix;
			newVEmployeeDepartmentHistory.Shift = _shift;
			newVEmployeeDepartmentHistory.Department = _department;
			newVEmployeeDepartmentHistory.GroupName = _groupName;
			newVEmployeeDepartmentHistory.StartDate = _startDate;
			newVEmployeeDepartmentHistory.EndDate = _endDate;
			return newVEmployeeDepartmentHistory;
		}