Exemple #1
0
        public VMEmployee convert(tEmployee emp)
        {
            VMEmployee vMEmployee = new VMEmployee();

            vMEmployee.id         = emp.fEmployeeId;
            vMEmployee.department = emp.fDepartment;
            vMEmployee.job        = emp.fTitle;
            vMEmployee.name       = emp.fName;

            return(vMEmployee);
        }
Exemple #2
0
        public VMEmployee convert(tEmployee emp)
        {
            VMEmployee vmemp = new VMEmployee();

            vmemp.id         = emp.fEmployeeId;
            vmemp.department = emp.fDepartment;
            vmemp.title      = emp.fTitle;
            vmemp.name       = emp.fName;
            vmemp.auth       = emp.fAuth;

            return(vmemp);
        }