public ImportUI() { incentiveRepository = EntityContainer.GetType <IIncentiveRepository>(); employeeRepository = EntityContainer.GetType <IEmployeeRepository>(); absenceRepository = EntityContainer.GetType <IAbsenceRepository>(); overTimeRepository = EntityContainer.GetType <IOverTimeRepository>(); branchRepository = EntityContainer.GetType <IBranchRepository>(); departmentRepository = EntityContainer.GetType <IDepartmentRepository>(); gradeRepository = EntityContainer.GetType <IGradeRepository>(); occupationRepository = EntityContainer.GetType <IOccupationRepository>(); principalRepository = EntityContainer.GetType <IPrincipalRepository>(); insuranceProgramRepository = EntityContainer.GetType <IInsuranceProgramRepository>(); employeeDepartmentRepository = EntityContainer.GetType <IEmployeeDepartmentRepository>(); employeeGradeRepository = EntityContainer.GetType <IEmployeeGradeRepository>(); employeeOccupationRepository = EntityContainer.GetType <IEmployeeOccupationRepository>(); employeePrincipalRepository = EntityContainer.GetType <IEmployeePrincipalRepository>(); employeeStatusRepository = EntityContainer.GetType <IEmployeeStatusRepository>(); employeeInsuranceRepository = EntityContainer.GetType <IEmployeeInsuranceRepository>(); employeeSalaryRepository = EntityContainer.GetType <IEmployeeSalaryRepository>(); InitializeComponent(); }
public THRRepository(DataSource ds) { this.ds = ds; employeeRepository = EntityContainer.GetType <IEmployeeRepository>(); employeeSalaryRepository = EntityContainer.GetType <IEmployeeSalaryRepository>(); employeeDepartmentRepository = EntityContainer.GetType <IEmployeeDepartmentRepository>(); employeeGradeRepository = EntityContainer.GetType <IEmployeeGradeRepository>(); employeeOccupationRepository = EntityContainer.GetType <IEmployeeOccupationRepository>(); employeeStatusRepository = EntityContainer.GetType <IEmployeeStatusRepository>(); companyRepository = EntityContainer.GetType <ICompanyRepository>(); }
public EmployeeRepository(DataSource ds) { this.ds = ds; employeeFamilyRepository = EntityContainer.GetType <IEmployeeFamilyRepository>(); employeeDepatmentRepository = EntityContainer.GetType <IEmployeeDepartmentRepository>(); employeeGradeRepository = EntityContainer.GetType <IEmployeeGradeRepository>(); employeeOccupationRepository = EntityContainer.GetType <IEmployeeOccupationRepository>(); employeePrincipalRepository = EntityContainer.GetType <IEmployeePrincipalRepository>(); employeeStatusRepository = EntityContainer.GetType <IEmployeeStatusRepository>(); employeeInsuranceRepository = EntityContainer.GetType <IEmployeeInsuranceRepository>(); employeeSalaryRepository = EntityContainer.GetType <IEmployeeSalaryRepository>(); branchRepository = EntityContainer.GetType <IBranchRepository>(); }
public HrSetupController( IBankRepository repo4, ICostCenterRepository repo6, IDegreeRepository repo8, IDesignationRepository repo9, IEmployeeStatusRepository repo10, IEmployeeTypeRepository repo11, IFunctionRepository repo12, IGazettedHolidaysRepository repo13, IGroupRepository repo15, ILanguageRepository repo16, IManagementLevelRepository repo18, IRelationRepository repo20, IReligionRepository repo21, ISkillLevelRepository repo24, IUniversityRepository repo25, IWorkExperienceRepository repo26, IUserDocumentRepository repo27, IUserPhotoRepository repo28, IUserCompanyRepository repo29, IDependantsRelationRepository repo30 ) { Bank_repo = repo4; CostCenter_repo = repo6; Degree_repo = repo8; Designation_repo = repo9; EmpStatus_repo = repo10; EmpType_repo = repo11; Func_repo = repo12; Holiday_repo = repo13; Group_repo = repo15; Lang_repo = repo16; MngLvl_repo = repo18; Relation_repo = repo20; Religion_repo = repo21; SkillLevel_repo = repo24; Uni_repo = repo25; wexp_repo = repo26; Doc_repo = repo27; Photo_repo = repo28; UserCompany_repo = repo29; Dependantsrelation_repo = repo30; }
public EmployeeStatus(ISessionFactory sessionFactory, IEmployeeStatusRepository statusRepository) { this.sessionFactory = sessionFactory; this.statusRepository = statusRepository; }