/// <summary> /// Create a new SalariedEmployee object. /// </summary> /// <param name="id">Initial value of the Id property.</param> /// <param name="lastName">Initial value of the LastName property.</param> /// <param name="firstName">Initial value of the FirstName property.</param> /// <param name="salary">Initial value of the Salary property.</param> public static SalariedEmployee CreateSalariedEmployee(global::System.Int32 id, global::System.String lastName, global::System.String firstName, global::System.Int32 salary) { SalariedEmployee salariedEmployee = new SalariedEmployee(); salariedEmployee.Id = id; salariedEmployee.LastName = lastName; salariedEmployee.FirstName = firstName; salariedEmployee.Salary = salary; return salariedEmployee; }