Nettiers.AdventureWorks.Entities.VEmployeeBase.CreateVEmployee C# (CSharp) Method

CreateVEmployee() public static method

A simple factory method to create a new VEmployee instance.
public static CreateVEmployee ( System _employeeId, System _title, System _firstName, System _middleName, System _lastName, System _suffix, System _jobTitle, System _phone, System _emailAddress, System _emailPromotion, System _addressLine1, System _addressLine2, System _city, System _stateProvinceName, System _postalCode, System _countryRegionName, string _additionalContactInfo ) : VEmployee
_employeeId System
_title System
_firstName System
_middleName System
_lastName System
_suffix System
_jobTitle System
_phone System
_emailAddress System
_emailPromotion System
_addressLine1 System
_addressLine2 System
_city System
_stateProvinceName System
_postalCode System
_countryRegionName System
_additionalContactInfo string
return VEmployee
		public static VEmployee CreateVEmployee(System.Int32 _employeeId, System.String _title, System.String _firstName, System.String _middleName, System.String _lastName, System.String _suffix, System.String _jobTitle, System.String _phone, System.String _emailAddress, System.Int32 _emailPromotion, System.String _addressLine1, System.String _addressLine2, System.String _city, System.String _stateProvinceName, System.String _postalCode, System.String _countryRegionName, string _additionalContactInfo)
		{
			VEmployee newVEmployee = new VEmployee();
			newVEmployee.EmployeeId = _employeeId;
			newVEmployee.Title = _title;
			newVEmployee.FirstName = _firstName;
			newVEmployee.MiddleName = _middleName;
			newVEmployee.LastName = _lastName;
			newVEmployee.Suffix = _suffix;
			newVEmployee.JobTitle = _jobTitle;
			newVEmployee.Phone = _phone;
			newVEmployee.EmailAddress = _emailAddress;
			newVEmployee.EmailPromotion = _emailPromotion;
			newVEmployee.AddressLine1 = _addressLine1;
			newVEmployee.AddressLine2 = _addressLine2;
			newVEmployee.City = _city;
			newVEmployee.StateProvinceName = _stateProvinceName;
			newVEmployee.PostalCode = _postalCode;
			newVEmployee.CountryRegionName = _countryRegionName;
			newVEmployee.AdditionalContactInfo = _additionalContactInfo;
			return newVEmployee;
		}