Testing.Employee.CreateEmployee C# (CSharp) Method

CreateEmployee() public static method

Create a new Employee object.
public static CreateEmployee ( global employeeID, global nationalIDNumber, global contactID, global loginID, global title, global birthDate, global maritalStatus, global gender, global hireDate, global salariedFlag, global vacationHours, global sickLeaveHours, global currentFlag, global rowguid, global modifiedDate ) : Employee
employeeID global Initial value of the EmployeeID property.
nationalIDNumber global Initial value of the NationalIDNumber property.
contactID global Initial value of the ContactID property.
loginID global Initial value of the LoginID property.
title global Initial value of the Title property.
birthDate global Initial value of the BirthDate property.
maritalStatus global Initial value of the MaritalStatus property.
gender global Initial value of the Gender property.
hireDate global Initial value of the HireDate property.
salariedFlag global Initial value of the SalariedFlag property.
vacationHours global Initial value of the VacationHours property.
sickLeaveHours global Initial value of the SickLeaveHours property.
currentFlag global Initial value of the CurrentFlag property.
rowguid global Initial value of the rowguid property.
modifiedDate global Initial value of the ModifiedDate property.
return Employee
        public static Employee CreateEmployee(global::System.Int32 employeeID, global::System.String nationalIDNumber, global::System.Int32 contactID, global::System.String loginID, global::System.String title, global::System.DateTime birthDate, global::System.String maritalStatus, global::System.String gender, global::System.DateTime hireDate, global::System.Boolean salariedFlag, global::System.Int16 vacationHours, global::System.Int16 sickLeaveHours, global::System.Boolean currentFlag, global::System.Guid rowguid, global::System.DateTime modifiedDate)
        {
            Employee employee = new Employee();
            employee.EmployeeID = employeeID;
            employee.NationalIDNumber = nationalIDNumber;
            employee.ContactID = contactID;
            employee.LoginID = loginID;
            employee.Title = title;
            employee.BirthDate = birthDate;
            employee.MaritalStatus = maritalStatus;
            employee.Gender = gender;
            employee.HireDate = hireDate;
            employee.SalariedFlag = salariedFlag;
            employee.VacationHours = vacationHours;
            employee.SickLeaveHours = sickLeaveHours;
            employee.CurrentFlag = currentFlag;
            employee.rowguid = rowguid;
            employee.ModifiedDate = modifiedDate;
            return employee;
        }