MySql.Data.Entity.Tests.Employee.CreateEmployee C# (CSharp) Method

CreateEmployee() public static method

Create a new Employee object.
public static CreateEmployee ( global id, global lastName, global firstName ) : Employee
id global Initial value of the Id property.
lastName global Initial value of the LastName property.
firstName global Initial value of the FirstName property.
return Employee
        public static Employee CreateEmployee(global::System.Int32 id, global::System.String lastName, global::System.String firstName)
        {
            Employee employee = new Employee();
            employee.Id = id;
            employee.LastName = lastName;
            employee.FirstName = firstName;
            return employee;
        }