コード例 #1
0
        public AccessControlRepository()
        {
            base.ServiceURL = ApplicationSettingsFactory.GetApplicationSettings().BaseURL + serviceName;

            ChildGetLookup.Add(typeof(SecurityGroup), "getSG");
            ChildGetLookup.Add(typeof(DataAccessItemView), "getDA");
            ChildGetLookup.Add(typeof(UserDataAccess), "getUD");
            ChildGetLookup.Add(typeof(ModuleClass), "getUC");



            ChildGetAllLookup.Add(typeof(SecurityGroup), "qrySG");
            ChildGetAllLookup.Add(typeof(DataAccessItemView), "qryDA");
            ChildGetAllLookup.Add(typeof(ModuleClass), "qryCL");
            ChildGetAllLookup.Add(typeof(UC), "qryUP");
            ChildGetAllLookup.Add(typeof(ClassProperty), "qryCP");
            ChildGetAllLookup.Add(typeof(SecurityGroupUser), "qryUS");

            ChildAddOrUpdateLookup.Add(typeof(SecurityGroup), "setSG");
            ChildAddOrUpdateLookup.Add(typeof(DataAccessItemView), "setDA");
            ChildAddOrUpdateLookup.Add(typeof(ClassProperty), "setCP");
            ChildAddOrUpdateLookup.Add(typeof(SecurityGroupUser), "setUS");
            ChildAddOrUpdateLookup.Add(typeof(ModuleClass), "setCL");
            ChildAddOrUpdateLookup.Add(typeof(ModuleClass[]), "arrCL");


            ChildDeleteLookup.Add(typeof(SecurityGroup), "delSG");
            ChildDeleteLookup.Add(typeof(DataAccessItemView), "delDA");
            ChildDeleteLookup.Add(typeof(SecurityGroupUser), "delUS");
        }
コード例 #2
0
        public BenefitsRepository()
        {
            base.ServiceURL = ApplicationSettingsFactory.GetApplicationSettings().BaseURL + serviceName;

            ChildGetAllLookup.Add(typeof(Benefit), "qryBE");
            ChildGetAllLookup.Add(typeof(BenefitsSchedule), "qrySC");
            ChildGetAllLookup.Add(typeof(ScheduleBenefits), "qrySB");
            ChildGetAllLookup.Add(typeof(BenefitAcquisition), "qryBA");



            ChildGetLookup.Add(typeof(Benefit), "getBE");
            ChildGetLookup.Add(typeof(BenefitsSchedule), "getSC");
            ChildGetLookup.Add(typeof(ScheduleBenefits), "getSB");
            ChildGetLookup.Add(typeof(BenefitAcquisition), "getBA");


            ChildAddOrUpdateLookup.Add(typeof(Benefit), "setBE");
            ChildAddOrUpdateLookup.Add(typeof(BenefitsSchedule), "setSC");
            ChildAddOrUpdateLookup.Add(typeof(ScheduleBenefits), "setSB");
            ChildAddOrUpdateLookup.Add(typeof(BenefitAcquisition), "setBA");


            // ChildAddOrUpdateLookup.Add(typeof(LeaveDay[]), "arrLD");

            ChildDeleteLookup.Add(typeof(Benefit), "delBE");
            ChildDeleteLookup.Add(typeof(BenefitsSchedule), "delSC");
            ChildDeleteLookup.Add(typeof(ScheduleBenefits), "delSB");
            ChildDeleteLookup.Add(typeof(BenefitAcquisition), "delBA");
        }
コード例 #3
0
        public LoanTrackingRepository()
        {
            base.ServiceURL       = ApplicationSettingsFactory.GetApplicationSettings().BaseURL + serviceName;
            GetAllMethodName      = "qryLR";
            AddOrUpdateMethodName = "setLR";
            GetRecordMethodName   = "getLR";
            DeleteMethodName      = "delLR";

            ChildGetLookup.Add(typeof(LoanType), "getLT");
            ChildGetLookup.Add(typeof(LoanDeduction), "getLD");
            ChildGetLookup.Add(typeof(LoanOverride), "getEM");
            ChildGetAllLookup.Add(typeof(LoanType), "qryLT");
            ChildGetAllLookup.Add(typeof(Model.LoadTracking.PendingLA), "pendingLA");
            ChildGetAllLookup.Add(typeof(LoanApproval), "qryLA");
            ChildGetAllLookup.Add(typeof(LoanOverride), "qryEM");


            ChildAddOrUpdateLookup.Add(typeof(LoanType), "setLT");
            ChildAddOrUpdateLookup.Add(typeof(LoanApproval), "setLA");
            ChildAddOrUpdateLookup.Add(typeof(SyncActivity), "syncLR");


            ChildDeleteLookup.Add(typeof(LoanType), "delLT");
            ChildDeleteLookup.Add(typeof(LoanOverride), "delEM");
            ChildDeleteLookup.Add(typeof(LoanDeduction), "delLD");

            ChildGetAllLookup.Add(typeof(LoanComment), "qryLC");
            ChildGetAllLookup.Add(typeof(LoanDeduction), "qryLD");
            ChildAddOrUpdateLookup.Add(typeof(LoanComment), "setLC");
            ChildAddOrUpdateLookup.Add(typeof(LoanDeduction), "setLD");
            ChildAddOrUpdateLookup.Add(typeof(LoanOverride), "setEM");
            ChildDeleteLookup.Add(typeof(LoanComment), "delLC");
            ChildDeleteLookup.Add(typeof(loanSelfService), "delLC");
        }
コード例 #4
0
        public EmployeeRepository()
        {
            base.ServiceURL       = ApplicationSettingsFactory.GetApplicationSettings().BaseURL + serviceName;
            GetAllMethodName      = "qryES";
            AddOrUpdateMethodName = "setEM";
            GetRecordMethodName   = "getEM1";

            ChildGetAllLookup.Add(typeof(Sponsor), "qrySP");
            ChildGetAllLookup.Add(typeof(AllowanceType), "qryAT");
            ChildGetAllLookup.Add(typeof(CertificateLevel), "qryCL");
            ChildGetAllLookup.Add(typeof(TrainingType), "qryTT");
            ChildGetAllLookup.Add(typeof(EntitlementDeduction), "qryED");

            ChildGetLookup.Add(typeof(Sponsor), "getSP");
            ChildGetLookup.Add(typeof(AllowanceType), "getAT");
            ChildGetLookup.Add(typeof(CertificateLevel), "getCL");
            ChildGetLookup.Add(typeof(TrainingType), "getTT");
            ChildGetLookup.Add(typeof(EntitlementDeduction), "getED");

            ChildAddOrUpdateLookup.Add(typeof(Sponsor), "setSP");
            ChildAddOrUpdateLookup.Add(typeof(AllowanceType), "setAT");
            ChildAddOrUpdateLookup.Add(typeof(CertificateLevel), "setCL");
            ChildAddOrUpdateLookup.Add(typeof(TrainingType), "setTT");
            ChildAddOrUpdateLookup.Add(typeof(EntitlementDeduction), "setED");

            ChildDeleteLookup.Add(typeof(Sponsor), "delSP");
            ChildDeleteLookup.Add(typeof(AllowanceType), "delAT");
            ChildDeleteLookup.Add(typeof(CertificateLevel), "delCL");
            ChildDeleteLookup.Add(typeof(TrainingType), "delTT");
            ChildDeleteLookup.Add(typeof(EntitlementDeduction), "delED");
        }
コード例 #5
0
        public TaskScheduleRepository()
        {
            base.ServiceURL = ApplicationSettingsFactory.GetApplicationSettings().BaseURL + serviceName;

            ChildGetLookup.Add(typeof(Service), "getTH");
            ChildGetLookup.Add(typeof(Report), "getRE");
            ChildGetLookup.Add(typeof(Receiver), "getSG");



            ChildGetAllLookup.Add(typeof(Service), "qryTH");
            ChildGetAllLookup.Add(typeof(Report), "qryRE");
            ChildGetAllLookup.Add(typeof(Receiver), "qrySG");



            ChildAddOrUpdateLookup.Add(typeof(Service), "setTH");
            ChildAddOrUpdateLookup.Add(typeof(Report), "setRE");
            ChildAddOrUpdateLookup.Add(typeof(Receiver), "setSG");


            ChildDeleteLookup.Add(typeof(Service), "delTH");
            ChildDeleteLookup.Add(typeof(Report), "delRE");
            ChildDeleteLookup.Add(typeof(Receiver), "delSG");


            //Flat Schedule
        }
コード例 #6
0
        public MathematicalRepository()
        {
            base.ServiceURL = ApplicationSettingsFactory.GetApplicationSettings().BaseURL + serviceName;

            ChildGetAllLookup.Add(typeof(PayrollExpression), "qryEX");
            ChildGetAllLookup.Add(typeof(PayrollFunction), "qryFU");
            ChildGetAllLookup.Add(typeof(PayrollExpFunc), "qryEF");
            ChildGetAllLookup.Add(typeof(PayrollFunConst), "qryFC");
            ChildGetAllLookup.Add(typeof(PayrollConstant), "qryCO");


            ChildAddOrUpdateLookup.Add(typeof(PayrollExpression), "setEX");
            ChildAddOrUpdateLookup.Add(typeof(CheckExpression), "checkEX");
            ChildAddOrUpdateLookup.Add(typeof(PayrollConstant), "setCO");
            ChildAddOrUpdateLookup.Add(typeof(PayrollFunction), "setFU");
            ChildAddOrUpdateLookup.Add(typeof(MyInfo), "setEM");
            ChildAddOrUpdateLookup.Add(typeof(PayrollExpFunc), "setEF");
            ChildAddOrUpdateLookup.Add(typeof(PayrollFunConst), "setFC");


            ChildDeleteLookup.Add(typeof(MyInfo), "delEM");
            ChildDeleteLookup.Add(typeof(PayrollConstant), "delCO");
            ChildDeleteLookup.Add(typeof(PayrollExpression), "delEX");
            ChildDeleteLookup.Add(typeof(PayrollFunction), "delFU");
            ChildDeleteLookup.Add(typeof(PayrollExpFunc), "delEF");
            ChildDeleteLookup.Add(typeof(PayrollFunConst), "delFC");



            ChildGetLookup.Add(typeof(PayrollConstant), "getCO");
            ChildGetLookup.Add(typeof(PayrollExpression), "getEX");
            ChildGetLookup.Add(typeof(PayrollFunction), "getFU");
            ChildGetLookup.Add(typeof(PayrollExpFunc), "getEF");
            ChildGetLookup.Add(typeof(PayrollFunConst), "getFC");
        }
コード例 #7
0
        public HelpFunctionRepository()
        {
            base.ServiceURL = ApplicationSettingsFactory.GetApplicationSettings().BaseURL + serviceName;


            ChildGetAllLookup.Add(typeof(LeaveCalendarDay), "TA02");
            ChildGetAllLookup.Add(typeof(BranchSchedule), "CS01");
            ChildGetAllLookup.Add(typeof(FlatScheduleBranchAvailability), "TA01");
            ChildGetAllLookup.Add(typeof(FlatScheduleEmployeeCell), "TA05");
            ChildGetAllLookup.Add(typeof(FlatScheduleWorkingHours), "TA06");
            ChildGetAllLookup.Add(typeof(BenefitAcquisitionAcquisitionRate), "BE01");
            ChildGetAllLookup.Add(typeof(PayrollExport), "PY01");
            ChildGetAllLookup.Add(typeof(FlatSchedule), "TA11");



            ChildGetLookup.Add(typeof(MyInfo), "getEM1");
            ChildGetLookup.Add(typeof(BranchSchedule), "CS01");
            ChildGetLookup.Add(typeof(BenefitAcquisitionAcquisitionRate), "BE01");
            ChildGetLookup.Add(typeof(PeriodOfTheDate), "SY01");
            ChildGetLookup.Add(typeof(LocalsRate), "NQ01");


            ChildAddOrUpdateLookup.Add(typeof(MyInfo), "setEM");
            ChildAddOrUpdateLookup.Add(typeof(FlatScheduleImport), "TA03");
            ChildAddOrUpdateLookup.Add(typeof(FlatBulkSchedule), "TA04");
            ChildAddOrUpdateLookup.Add(typeof(SynchronizeAttendanceDay), "TA07");
            ChildAddOrUpdateLookup.Add(typeof(GenerateAttendanceShift), "TA08");
            ChildAddOrUpdateLookup.Add(typeof(BranchAttendance), "TA09");



            ChildDeleteLookup.Add(typeof(MyInfo), "delEM");
        }
コード例 #8
0
        public LeaveManagementRepository()
        {
            base.ServiceURL = ApplicationSettingsFactory.GetApplicationSettings().BaseURL + serviceName;

            ChildGetLookup.Add(typeof(VacationSchedule), "getVS");
            ChildGetLookup.Add(typeof(VacationSchedulePeriod), "getVP");
            ChildGetLookup.Add(typeof(LeaveType), "getLT");

            ChildGetAllLookup.Add(typeof(VacationSchedule), "qryVS");
            ChildGetAllLookup.Add(typeof(VacationSchedulePeriod), "qryVP");
            ChildGetAllLookup.Add(typeof(AttendanceSchedule), "qrySC");
            ChildGetAllLookup.Add(typeof(AttendanceScheduleDay), "qrySD");
            ChildGetAllLookup.Add(typeof(AttendanceBreak), "qrySB");
            ChildGetAllLookup.Add(typeof(LeaveType), "qryLT");

            ChildAddOrUpdateLookup.Add(typeof(VacationSchedule), "setVS");
            ChildAddOrUpdateLookup.Add(typeof(VacationSchedulePeriod[]), "arrVP");
            ChildAddOrUpdateLookup.Add(typeof(AttendanceSchedule), "setSC");
            ChildAddOrUpdateLookup.Add(typeof(AttendanceScheduleDay), "setSD");
            ChildAddOrUpdateLookup.Add(typeof(LeaveType), "setLT");
            ChildAddOrUpdateLookup.Add(typeof(AttendanceBreak[]), "arrSB");

            ChildDeleteLookup.Add(typeof(VacationSchedulePeriod), "delVP");
            ChildDeleteLookup.Add(typeof(AttendanceBreak), "delSB");
            ChildDeleteLookup.Add(typeof(VacationSchedule), "delVS");
        }
コード例 #9
0
ファイル: AccountRepository.cs プロジェクト: eliea85/AionHR
 public AccountRepository()
 {
     base.ServiceURL          = ApplicationSettingsFactory.GetApplicationSettings().BaseURL + serviceName;
     base.GetRecordMethodName = "getAC";
     ChildAddOrUpdateLookup.Add(typeof(Registration), "setRE");
     ChildAddOrUpdateLookup.Add(typeof(Account), "setAC");
     ChildAddOrUpdateLookup.Add(typeof(DbSetup), "createDB");
 }
コード例 #10
0
        public LeaveManagementRepository()
        {
            base.ServiceURL = ApplicationSettingsFactory.GetApplicationSettings().BaseURL + serviceName;

            ChildGetLookup.Add(typeof(VacationSchedule), "getVS");
            ChildGetLookup.Add(typeof(VacationSchedulePeriod), "getVP");
            ChildGetLookup.Add(typeof(LeaveType), "getLT");
            ChildGetLookup.Add(typeof(LeaveRequest), "getLR");
            ChildGetLookup.Add(typeof(LeaveSchedule), "getLS");
            ChildGetLookup.Add(typeof(LeaveSchedulePeriod), "getLP");
            ChildGetLookup.Add(typeof(LeaveReturn), "getRE");


            ChildGetAllLookup.Add(typeof(VacationSchedule), "qryVS");
            ChildGetAllLookup.Add(typeof(VacationSchedulePeriod), "qryVP");
            ChildGetAllLookup.Add(typeof(AttendanceSchedule), "qrySC");
            ChildGetAllLookup.Add(typeof(AttendanceScheduleDay), "qrySD");
            ChildGetAllLookup.Add(typeof(AttendanceBreak), "qrySB");
            ChildGetAllLookup.Add(typeof(LeaveType), "qryLT");
            ChildGetAllLookup.Add(typeof(LeaveRequest), "qryLR");
            ChildGetAllLookup.Add(typeof(LeaveDay), "qryLD");
            ChildGetAllLookup.Add(typeof(PendingLA), "pendingLA");
            ChildGetAllLookup.Add(typeof(Approvals), "qryLA");
            ChildGetAllLookup.Add(typeof(LeaveSchedule), "qryLS");
            ChildGetAllLookup.Add(typeof(LeaveSchedulePeriod), "qryLP");
            ChildGetAllLookup.Add(typeof(LeaveReturn), "qryRE");
            ChildGetAllLookup.Add(typeof(LeaveReturnApproval), "qryRA");
            ChildGetAllLookup.Add(typeof(pendingRA), "pendingRA");

            ChildAddOrUpdateLookup.Add(typeof(VacationSchedule), "setVS");
            ChildAddOrUpdateLookup.Add(typeof(VacationSchedulePeriod[]), "arrVP");
            ChildAddOrUpdateLookup.Add(typeof(AttendanceSchedule), "setSC");
            ChildAddOrUpdateLookup.Add(typeof(AttendanceScheduleDay), "setSD");
            ChildAddOrUpdateLookup.Add(typeof(LeaveType), "setLT");
            ChildAddOrUpdateLookup.Add(typeof(LeaveRequest), "setLR");
            ChildAddOrUpdateLookup.Add(typeof(AttendanceBreak[]), "arrSB");
            ChildAddOrUpdateLookup.Add(typeof(LeaveDay), "setLD");
            ChildAddOrUpdateLookup.Add(typeof(DashboardLeave), "setLA");
            ChildAddOrUpdateLookup.Add(typeof(LeaveSchedule), "setLS");
            ChildAddOrUpdateLookup.Add(typeof(LeaveSchedulePeriod), "setLP");
            ChildAddOrUpdateLookup.Add(typeof(LeaveReturn), "setRE");
            ChildAddOrUpdateLookup.Add(typeof(LeaveReturnApproval), "setRA");
            ChildAddOrUpdateLookup.Add(typeof(SyncActivity), "syncLR");
            ChildAddOrUpdateLookup.Add(typeof(SyncLeaveReplacment), "syncRE");



            ChildDeleteLookup.Add(typeof(VacationSchedulePeriod), "delVP");
            ChildDeleteLookup.Add(typeof(LeaveDay), "delLD");
            ChildDeleteLookup.Add(typeof(AttendanceBreak), "delSB");
            ChildDeleteLookup.Add(typeof(VacationSchedule), "delVS");
            ChildDeleteLookup.Add(typeof(LeaveRequest), "delLR");
            ChildDeleteLookup.Add(typeof(LeaveType), "delLT");
            ChildDeleteLookup.Add(typeof(LeaveSchedule), "delLS");
            ChildDeleteLookup.Add(typeof(LeaveSchedulePeriod), "delLP");
            ChildDeleteLookup.Add(typeof(LeaveReturn), "delRE");
        }
コード例 #11
0
        public CasesRepository()
        {
            base.ServiceURL       = ApplicationSettingsFactory.GetApplicationSettings().BaseURL + serviceName;
            GetAllMethodName      = "qryCA";
            AddOrUpdateMethodName = "setCA";
            GetRecordMethodName   = "getCA";
            DeleteMethodName      = "delCA";

            ChildGetAllLookup.Add(typeof(CaseComment), "qryCC");
            ChildAddOrUpdateLookup.Add(typeof(CaseComment), "setCC");
            ChildDeleteLookup.Add(typeof(CaseComment), "delCC");
        }
コード例 #12
0
        public AssetManagementRepository()
        {
            base.ServiceURL = ApplicationSettingsFactory.GetApplicationSettings().BaseURL + serviceName;

            ChildGetAllLookup.Add(typeof(AssetManagementSupplier), "qrySU");
            ChildGetAllLookup.Add(typeof(AssetManagementCategory), "qryCA");
            ChildGetAllLookup.Add(typeof(AssetManagementAsset), "qryAS");
            ChildGetAllLookup.Add(typeof(AssetManagementPurchaseOrder), "qryPO");
            ChildGetAllLookup.Add(typeof(AssetManagementOnBoarding), "qryOB");
            ChildGetAllLookup.Add(typeof(AssetManagementLoan), "qryLO");
            ChildGetAllLookup.Add(typeof(AssetManagementPurchaseOrderApproval), "qryPA");
            ChildGetAllLookup.Add(typeof(PendingPA), "pendingPA");
            ChildGetAllLookup.Add(typeof(AssetManagementCategoryProperty), "qryCP");
            ChildGetAllLookup.Add(typeof(AssetPropertyValue), "qryAP");



            ChildGetLookup.Add(typeof(AssetManagementSupplier), "getSU");
            ChildGetLookup.Add(typeof(AssetManagementCategory), "getCA");
            ChildGetLookup.Add(typeof(AssetManagementAsset), "getAS");
            ChildGetLookup.Add(typeof(AssetManagementPurchaseOrder), "getPO");
            ChildGetLookup.Add(typeof(AssetManagementOnBoarding), "getOB");
            ChildGetLookup.Add(typeof(AssetManagementLoan), "getLO");
            ChildGetLookup.Add(typeof(AssetManagementCategoryProperty), "getCP");



            ChildAddOrUpdateLookup.Add(typeof(AssetManagementSupplier), "setSU");
            ChildAddOrUpdateLookup.Add(typeof(AssetManagementCategory), "setCA");
            ChildAddOrUpdateLookup.Add(typeof(AssetManagementAsset), "setAS");
            ChildAddOrUpdateLookup.Add(typeof(AssetManagementPurchaseOrder), "setPO");
            ChildAddOrUpdateLookup.Add(typeof(AssetManagementOnBoarding), "setOB");
            ChildAddOrUpdateLookup.Add(typeof(AssetManagementLoan), "setLO");
            ChildAddOrUpdateLookup.Add(typeof(AssetManagementCategoryProperty), "setCP");
            ChildAddOrUpdateLookup.Add(typeof(AssetManagementPurchaseOrderApproval), "setPA");
            ChildAddOrUpdateLookup.Add(typeof(AssetPropertyValue), "setAP");



            ChildAddOrUpdateLookup.Add(typeof(AssetPOReception), "genAS");
            ChildAddOrUpdateLookup.Add(typeof(SyncActivity), "syncPO");



            ChildDeleteLookup.Add(typeof(AssetManagementSupplier), "delSU");
            ChildDeleteLookup.Add(typeof(AssetManagementCategory), "delCA");
            ChildDeleteLookup.Add(typeof(AssetManagementAsset), "delAS");
            ChildDeleteLookup.Add(typeof(AssetManagementPurchaseOrder), "delPO");
            ChildDeleteLookup.Add(typeof(AssetManagementOnBoarding), "delOB");
            ChildDeleteLookup.Add(typeof(AssetManagementLoan), "delLO");
            ChildDeleteLookup.Add(typeof(AssetManagementCategoryProperty), "delCP");
        }
コード例 #13
0
        public MediaGalleryRepository()
        {
            base.ServiceURL = ApplicationSettingsFactory.GetApplicationSettings().BaseURL + serviceName;
            ChildGetLookup.Add(typeof(MediaCategory), "getMC");
            ChildGetAllLookup.Add(typeof(MediaCategory), "qryMC");
            ChildAddOrUpdateLookup.Add(typeof(MediaCategory), "setMC");
            ChildDeleteLookup.Add(typeof(MediaCategory), "delMC");


            ChildGetLookup.Add(typeof(MediaItem), "getME");
            ChildGetAllLookup.Add(typeof(MediaItem), "qryME");
            ChildAddOrUpdateLookup.Add(typeof(MediaItem), "setME");
            ChildDeleteLookup.Add(typeof(MediaItem), "delME");
        }
コード例 #14
0
        public TimeAttendanceRepository()
        {
            base.ServiceURL = ApplicationSettingsFactory.GetApplicationSettings().BaseURL + serviceName;

            ChildGetLookup.Add(typeof(DayType), "getDT");
            ChildGetLookup.Add(typeof(AttendanceSchedule), "getSC");
            ChildGetLookup.Add(typeof(AttendanceScheduleDay), "getSD");
            ChildGetLookup.Add(typeof(WorkingCalendar), "getCA");
            ChildGetLookup.Add(typeof(CalendarYear), "getCY");
            ChildGetLookup.Add(typeof(CalendarDay), "getCD");
            ChildGetLookup.Add(typeof(BiometricDevice), "getBM");
            ChildGetLookup.Add(typeof(Router), "getRO");

            ChildGetAllLookup.Add(typeof(DayType), "qryDT");
            ChildGetAllLookup.Add(typeof(AttendanceSchedule), "qrySC");
            ChildGetAllLookup.Add(typeof(AttendanceScheduleDay), "qrySD");
            ChildGetAllLookup.Add(typeof(AttendanceBreak), "qrySB");
            ChildGetAllLookup.Add(typeof(WorkingCalendar), "qryCA");
            ChildGetAllLookup.Add(typeof(CalendarYear), "qryCY");
            ChildGetAllLookup.Add(typeof(CalendarDay), "qryCD");
            ChildGetAllLookup.Add(typeof(BiometricDevice), "qryBM");
            ChildGetAllLookup.Add(typeof(AttendanceDay), "qryAD");
            ChildGetAllLookup.Add(typeof(CheckMonitor), "qryCM");
            ChildGetAllLookup.Add(typeof(ActiveCheck), "qryAC");
            ChildGetAllLookup.Add(typeof(ActiveAbsence), "qryAA");
            ChildGetAllLookup.Add(typeof(ActiveLate), "qryAL");
            ChildGetAllLookup.Add(typeof(ActiveLeave), "qryAV");
            ChildGetAllLookup.Add(typeof(ActiveOut), "qryAO");
            ChildGetAllLookup.Add(typeof(MissedPunch), "qryMP");
            ChildGetAllLookup.Add(typeof(Router), "qryRO");

            ChildAddOrUpdateLookup.Add(typeof(DayType), "setDT");
            ChildAddOrUpdateLookup.Add(typeof(AttendanceSchedule), "setSC");
            ChildAddOrUpdateLookup.Add(typeof(AttendanceScheduleDay), "setSD");
            ChildAddOrUpdateLookup.Add(typeof(AttendanceBreak[]), "arrSB");
            ChildAddOrUpdateLookup.Add(typeof(WorkingCalendar), "setCA");
            ChildAddOrUpdateLookup.Add(typeof(CalendarYear), "setCY");
            ChildAddOrUpdateLookup.Add(typeof(CalendarDay), "setCD");
            ChildAddOrUpdateLookup.Add(typeof(BiometricDevice), "setBM");
            ChildAddOrUpdateLookup.Add(typeof(CalendarPattern), "batCD");
            ChildAddOrUpdateLookup.Add(typeof(Router), "setRO");

            ChildDeleteLookup.Add(typeof(AttendanceBreak), "delSB");
            ChildDeleteLookup.Add(typeof(AttendanceSchedule), "delSC");
            ChildDeleteLookup.Add(typeof(WorkingCalendar), "delCA");
            ChildDeleteLookup.Add(typeof(DayType), "delDT");
            ChildDeleteLookup.Add(typeof(BiometricDevice), "delBM");
        }
コード例 #15
0
        public TaskManagementRepository()
        {
            base.ServiceURL       = ApplicationSettingsFactory.GetApplicationSettings().BaseURL + serviceName;
            GetAllMethodName      = "qryTA";
            AddOrUpdateMethodName = "setTA";
            GetRecordMethodName   = "getTA";
            DeleteMethodName      = "delTA";

            ChildGetLookup.Add(typeof(TaskType), "getTT");
            ChildGetAllLookup.Add(typeof(TaskType), "qryTT");
            ChildAddOrUpdateLookup.Add(typeof(TaskType), "setTT");
            ChildDeleteLookup.Add(typeof(TaskType), "delTT");

            ChildGetLookup.Add(typeof(TaskComment), "getTC");
            ChildGetAllLookup.Add(typeof(TaskComment), "qryTC");
            ChildAddOrUpdateLookup.Add(typeof(TaskComment), "setTC");
            ChildDeleteLookup.Add(typeof(TaskComment), "delTC");
        }
コード例 #16
0
ファイル: DashBoardRepository.cs プロジェクト: EliasTous/ERP
        public DashBoardRepository()
        {
            base.ServiceURL = ApplicationSettingsFactory.GetApplicationSettings().BaseURL + serviceName;

            ChildGetAllLookup.Add(typeof(DashBoardDO), "qryDO");

            ChildGetAllLookup.Add(typeof(DashboardLW), "qryLW");
            ChildGetAllLookup.Add(typeof(DashboardNS), "qryNS");
            ChildGetAllLookup.Add(typeof(DashBoardPE), "qryPE");
            ChildGetAllLookup.Add(typeof(DashBoardLE), "qryLE");
            ChildGetAllLookup.Add(typeof(DashBoardCH), "qryCH");
            ChildGetAllLookup.Add(typeof(DashBoardPL), "qryPL");
            ChildGetAllLookup.Add(typeof(DashBoardUL), "qryUL");
            ChildGetAllLookup.Add(typeof(DashBoardTimeVariation), "qryTV");
            ChildGetAllLookup.Add(typeof(AttendancePeriod), "qryAP");
            ChildGetAllLookup.Add(typeof(DashboardItem), "dashBoard");
            ChildGetAllLookup.Add(typeof(DashboardAlertItem), "qryAA");
            ChildGetAllLookup.Add(typeof(DashboardBranchAvailability), "qryBA");

            ChildGetAllLookup.Add(typeof(CompanyRTW), "qryCR");
            ChildGetAllLookup.Add(typeof(EmpRTW), "qryER");
            ChildGetAllLookup.Add(typeof(SalaryChange), "qrySC");
            ChildGetAllLookup.Add(typeof(ProbationEnd), "qryPR");
            ChildGetAllLookup.Add(typeof(WorkAnniversary), "qryWA");
            ChildGetAllLookup.Add(typeof(EmployeeBirthday), "qryBD");
            ChildGetAllLookup.Add(typeof(RetirementAge), "qryRS");
            ChildGetAllLookup.Add(typeof(TermEndDate), "qryTE");
            ChildGetAllLookup.Add(typeof(LeavingSoon), "qryLS");
            ChildGetAllLookup.Add(typeof(ReturnFromLeave), "qryLR");
            ChildGetAllLookup.Add(typeof(EmploymentReview), "qryRE");


            ChildGetLookup.Add(typeof(MyInfo), "getEM1");



            ChildAddOrUpdateLookup.Add(typeof(MyInfo), "setEM");
            ChildAddOrUpdateLookup.Add(typeof(DashBoardTimeVariation), "setTV");



            ChildDeleteLookup.Add(typeof(MyInfo), "delEM");
        }
コード例 #17
0
ファイル: SystemRepository.cs プロジェクト: eliea85/AionHR
        public SystemRepository()
        {
            base.ServiceURL = ApplicationSettingsFactory.GetApplicationSettings().BaseURL + serviceName;

            ChildAddOrUpdateLookup.Add(typeof(Nationality), "setNA");
            ChildGetAllLookup.Add(typeof(Nationality), "qryNA");
            ChildGetLookup.Add(typeof(Nationality), "getNA");
            ChildAddOrUpdateLookup.Add(typeof(Currency), "setCU");
            ChildGetAllLookup.Add(typeof(Currency), "qryCU");
            ChildGetLookup.Add(typeof(Currency), "getCU");
            ChildAddOrUpdateLookup.Add(typeof(UserInfo), "setUS");
            ChildGetAllLookup.Add(typeof(UserInfo), "qryUS");
            ChildGetLookup.Add(typeof(UserInfo), "getUS");

            ChildDeleteLookup.Add(typeof(Nationality), "delNA");
            ChildDeleteLookup.Add(typeof(UserInfo), "delUS");
            ChildDeleteLookup.Add(typeof(Currency), "delCU");
            ChildGetLookup.Add(typeof(KeyValuePair <string, string>), "getDE");
            ChildGetAllLookup.Add(typeof(KeyValuePair <string, string>), "qryDE");

            ChildAddOrUpdateLookup.Add(typeof(KeyValuePair <string, string>[]), "arrDE");
        }
コード例 #18
0
        public NationalQuotaRepository()
        {
            base.ServiceURL = ApplicationSettingsFactory.GetApplicationSettings().BaseURL + serviceName;

            ChildGetAllLookup.Add(typeof(Industry), "qryIN");
            ChildGetAllLookup.Add(typeof(BusinessSize), "qryBS");
            ChildGetAllLookup.Add(typeof(Level), "qryLE");
            ChildGetAllLookup.Add(typeof(Citizenship), "qryCI");
            ChildGetAllLookup.Add(typeof(PointAcquisition), "qryPA");
            ChildGetAllLookup.Add(typeof(LevelAcquisition), "qryLA");



            ChildGetLookup.Add(typeof(Industry), "getIN");
            ChildGetLookup.Add(typeof(BusinessSize), "getBS");
            ChildGetLookup.Add(typeof(Level), "getLE");
            ChildGetLookup.Add(typeof(Citizenship), "getCI");
            ChildGetLookup.Add(typeof(PointAcquisition), "getPA");
            ChildGetLookup.Add(typeof(LevelAcquisition), "getLA");



            ChildAddOrUpdateLookup.Add(typeof(Industry), "setIN");
            ChildAddOrUpdateLookup.Add(typeof(BusinessSize), "setBS");
            ChildAddOrUpdateLookup.Add(typeof(Level), "setLE");
            ChildAddOrUpdateLookup.Add(typeof(Citizenship), "setCI");
            ChildAddOrUpdateLookup.Add(typeof(Citizenship[]), "arrCI");
            ChildAddOrUpdateLookup.Add(typeof(PointAcquisition), "setPA");
            ChildAddOrUpdateLookup.Add(typeof(LevelAcquisition), "setLA");



            ChildDeleteLookup.Add(typeof(Industry), "delIN");
            ChildDeleteLookup.Add(typeof(BusinessSize), "delBS");
            ChildDeleteLookup.Add(typeof(Level), "delLE");
            ChildDeleteLookup.Add(typeof(Citizenship), "delCI");
            ChildDeleteLookup.Add(typeof(PointAcquisition), "delPA");
            ChildDeleteLookup.Add(typeof(LevelAcquisition), "delLA");
        }
コード例 #19
0
ファイル: PayrollRepository.cs プロジェクト: EliasTous/ERP
        public PayrollRepository()
        {
            base.ServiceURL = ApplicationSettingsFactory.GetApplicationSettings().BaseURL + serviceName;

            ChildGetAllLookup.Add(typeof(FiscalYear), "qryYE");
            ChildGetAllLookup.Add(typeof(GenerationHeader), "qryHE");
            ChildGetAllLookup.Add(typeof(FiscalPeriod), "qryPE");
            ChildGetAllLookup.Add(typeof(EmployeePayroll), "qryEM");


            ChildGetAllLookup.Add(typeof(PayrollEntitlementDeduction), "qryED");
            ChildGetAllLookup.Add(typeof(TimeSchedule), "qryTS");
            ChildGetAllLookup.Add(typeof(TimeCode), "qryTC");
            ChildGetAllLookup.Add(typeof(SocialSecuritySchedule), "qrySS");
            ChildGetAllLookup.Add(typeof(SocialSecurityScheduleSetup), "qrySC");
            ChildGetAllLookup.Add(typeof(FinalSettlement), "qryFS");
            ChildGetAllLookup.Add(typeof(FinalEntitlementsDeductions), "qryFD");
            ChildGetAllLookup.Add(typeof(PayCode), "qryPC");
            ChildGetAllLookup.Add(typeof(PayrollSocialSecurity), "qryES");
            ChildGetAllLookup.Add(typeof(PayrollIndemnity), "qryIS");
            ChildGetAllLookup.Add(typeof(PayrollIndemnityDetails), "qryID");
            ChildGetAllLookup.Add(typeof(PayrollIndemnityRecognition), "qryIR");
            ChildGetAllLookup.Add(typeof(LeavePayment), "qryLP");
            ChildGetAllLookup.Add(typeof(Bank), "qryBA");
            ChildGetAllLookup.Add(typeof(PenaltyType), "qryPT");
            ChildGetAllLookup.Add(typeof(PenaltyDetail), "qryPD");
            ChildGetAllLookup.Add(typeof(PayrollArgument), "qryAR");



            ChildGetAllLookup.Add(typeof(PayrollBenefitSchedule), "qryBS");
            ChildGetAllLookup.Add(typeof(PayrollBenefit), "qryBE");



            ChildAddOrUpdateLookup.Add(typeof(FiscalYear), "setYE");
            ChildAddOrUpdateLookup.Add(typeof(GenerationHeader), "setHE");
            ChildAddOrUpdateLookup.Add(typeof(EmployeePayroll), "setEM");
            ChildAddOrUpdateLookup.Add(typeof(PayrollEntitlementDeduction[]), "arrED");
            ChildAddOrUpdateLookup.Add(typeof(PayrollEntitlementDeduction), "setED");
            ChildAddOrUpdateLookup.Add(typeof(SyncED), "syncED");
            ChildAddOrUpdateLookup.Add(typeof(TimeSchedule), "setTS");
            ChildAddOrUpdateLookup.Add(typeof(TimeCode[]), "arrTC");
            ChildAddOrUpdateLookup.Add(typeof(SocialSecuritySchedule), "setSS");
            ChildAddOrUpdateLookup.Add(typeof(SocialSecurityScheduleSetup), "setSC");
            ChildAddOrUpdateLookup.Add(typeof(FinalSettlement), "setFS");
            ChildAddOrUpdateLookup.Add(typeof(FinalEntitlementsDeductions), "setFD");
            ChildAddOrUpdateLookup.Add(typeof(PayCode), "setPC");
            ChildAddOrUpdateLookup.Add(typeof(PayrollIndemnity), "setIS");
            ChildAddOrUpdateLookup.Add(typeof(PayrollIndemnityDetails), "setID");
            ChildAddOrUpdateLookup.Add(typeof(PayrollIndemnityDetails[]), "arrID");
            ChildAddOrUpdateLookup.Add(typeof(PayrollIndemnityRecognition[]), "arrIR");
            ChildAddOrUpdateLookup.Add(typeof(LeavePayment), "setLP");
            ChildAddOrUpdateLookup.Add(typeof(Bank), "setBA");
            ChildAddOrUpdateLookup.Add(typeof(PenaltyType), "setPT");
            ChildAddOrUpdateLookup.Add(typeof(PenaltyDetail), "setPD");
            ChildAddOrUpdateLookup.Add(typeof(TimeCode), "setTC");
            ChildAddOrUpdateLookup.Add(typeof(FiscalPeriod), "setPE");
            ChildAddOrUpdateLookup.Add(typeof(MailEmployee), "mailEM");
            ChildAddOrUpdateLookup.Add(typeof(PayrollArgument), "setAR");



            ChildAddOrUpdateLookup.Add(typeof(GeneratePayroll), "genEM");

            ChildAddOrUpdateLookup.Add(typeof(CheckExpression), "checkEX");

            ChildAddOrUpdateLookup.Add(typeof(PayrollBenefitSchedule), "setBS");
            ChildAddOrUpdateLookup.Add(typeof(PayrollBenefit), "setBE");



            ChildAddOrUpdateLookup.Add(typeof(DeletePayroll), "delEM");



            ChildDeleteLookup.Add(typeof(FiscalYear), "delYE");
            ChildDeleteLookup.Add(typeof(PayrollEntitlementDeduction), "delED");
            ChildDeleteLookup.Add(typeof(GenerationHeader), "delHE");
            ChildDeleteLookup.Add(typeof(TimeSchedule), "delTS");
            ChildDeleteLookup.Add(typeof(SocialSecuritySchedule), "delSS");
            ChildDeleteLookup.Add(typeof(SocialSecurityScheduleSetup), "delSC");
            ChildDeleteLookup.Add(typeof(FinalSettlement), "delFS");
            ChildDeleteLookup.Add(typeof(FinalEntitlementsDeductions), "delFD");
            ChildDeleteLookup.Add(typeof(PayCode), "delPC");
            ChildDeleteLookup.Add(typeof(PayrollIndemnity), "delIS");
            ChildDeleteLookup.Add(typeof(PayrollIndemnityDetails), "delID");
            ChildDeleteLookup.Add(typeof(PayrollIndemnityRecognition), "delIR");
            ChildDeleteLookup.Add(typeof(LeavePayment), "delLP");
            ChildDeleteLookup.Add(typeof(Bank), "delBA");
            ChildDeleteLookup.Add(typeof(EmployeePayroll), "delEM");
            ChildDeleteLookup.Add(typeof(PenaltyType), "delPT");
            ChildDeleteLookup.Add(typeof(PenaltyDetail), "delPD");
            ChildDeleteLookup.Add(typeof(TimeCode), "delTC");



            ChildDeleteLookup.Add(typeof(PayrollBenefitSchedule), "delBS");
            ChildDeleteLookup.Add(typeof(PayrollBenefit), "delBE");
            ChildDeleteLookup.Add(typeof(PayrollArgument), "delAR");



            ChildGetLookup.Add(typeof(GenerationHeader), "getHE");
            ChildGetLookup.Add(typeof(TimeSchedule), "getTS");
            ChildGetLookup.Add(typeof(SocialSecuritySchedule), "getSS");
            ChildGetLookup.Add(typeof(SocialSecurityScheduleSetup), "getSC");
            ChildGetLookup.Add(typeof(FinalSettlement), "getFS");
            ChildGetLookup.Add(typeof(FinalEntitlementsDeductions), "getFD");
            ChildGetLookup.Add(typeof(PayCode), "getPC");
            ChildGetLookup.Add(typeof(PayrollIndemnity), "getIS");
            ChildGetLookup.Add(typeof(PayrollIndemnityDetails), "getID");
            ChildGetLookup.Add(typeof(PayrollIndemnityRecognition), "getIR");
            ChildGetLookup.Add(typeof(LeavePayment), "getLP");
            ChildGetLookup.Add(typeof(Bank), "getBA");
            ChildGetLookup.Add(typeof(TimeCode), "getTC");
            ChildGetLookup.Add(typeof(PenaltyType), "getPT");
            ChildGetLookup.Add(typeof(PenaltyDetail), "getPD");
            ChildGetLookup.Add(typeof(FiscalPeriod), "getPE");


            //ChildGetLookup.Add(typeof(CheckExpression), "checkEX");


            ChildGetLookup.Add(typeof(PayrollBenefitSchedule), "getBS");
            ChildGetLookup.Add(typeof(PayrollBenefit), "getBE");
            ChildGetLookup.Add(typeof(PayrollArgument), "getAR");
        }
コード例 #20
0
ファイル: EmployeeRepository.cs プロジェクト: EliasTous/ERP
        public EmployeeRepository()
        {
            base.ServiceURL       = ApplicationSettingsFactory.GetApplicationSettings().BaseURL + serviceName;
            GetAllMethodName      = "qryES";
            AddOrUpdateMethodName = "setEM";
            GetRecordMethodName   = "getEM1";
            DeleteMethodName      = "delEM";

            ChildGetAllLookup.Add(typeof(Sponsor), "qrySP");
            ChildGetAllLookup.Add(typeof(AllowanceType), "qryAT");
            ChildGetAllLookup.Add(typeof(CertificateLevel), "qryCL");
            ChildGetAllLookup.Add(typeof(TrainingType), "qryTT");
            ChildGetAllLookup.Add(typeof(EntitlementDeduction), "qryED");
            ChildGetAllLookup.Add(typeof(DocumentType), "qryDT");
            ChildGetAllLookup.Add(typeof(SalaryChangeReason), "qrySC");
            ChildGetAllLookup.Add(typeof(AssetCategory), "qryAC");
            ChildGetAllLookup.Add(typeof(BonusType), "qryBT");
            ChildGetAllLookup.Add(typeof(EmploymentHistory), "qryEH");
            ChildGetAllLookup.Add(typeof(JobInfo), "qryJI");
            ChildGetAllLookup.Add(typeof(EmploymentStatus), "qryST");
            ChildGetAllLookup.Add(typeof(EmployeeSalary), "qrySA");
            ChildGetAllLookup.Add(typeof(Bonus), "qryBO");
            ChildGetAllLookup.Add(typeof(SalaryDetail), "qrySD");
            ChildGetAllLookup.Add(typeof(EmployeeNote), "qryNO");
            ChildGetAllLookup.Add(typeof(EmployeeDocument), "qryDO");
            ChildGetAllLookup.Add(typeof(EmployeeCertificate), "qryCE");
            ChildGetAllLookup.Add(typeof(EmployeeRightToWork), "qryRW");
            ChildGetAllLookup.Add(typeof(EmployeeBackgroundCheck), "qryBC");
            ChildGetAllLookup.Add(typeof(CheckType), "qryCT");
            ChildGetAllLookup.Add(typeof(Dependant), "qryDE");
            ChildGetAllLookup.Add(typeof(TerminationReason), "qryTR");
            ChildGetAllLookup.Add(typeof(AssetAllowance), "qryAA");
            ChildGetAllLookup.Add(typeof(EmployeeEmergencyContact), "qryEC");
            ChildGetAllLookup.Add(typeof(RelationshipType), "qryRT");
            ChildGetAllLookup.Add(typeof(TeamMember), "qryTM");
            ChildGetAllLookup.Add(typeof(EmployeeContact), "qryCO");
            ChildGetAllLookup.Add(typeof(NoticePeriod), "qryNP");
            ChildGetAllLookup.Add(typeof(EmployeeCalendar), "qryCA");
            ChildGetAllLookup.Add(typeof(EmployeeCal), "qryCA");
            ChildGetAllLookup.Add(typeof(EmployeePenalty), "qryPE");
            ChildGetAllLookup.Add(typeof(EmployeePenaltyApproval), "qryPA");
            ChildGetAllLookup.Add(typeof(PendingPA), "pendingPA");
            ChildGetAllLookup.Add(typeof(EmployeeParam), "qryEM");
            ChildGetAllLookup.Add(typeof(EmployeeSnapShot), "snapshotEM");
            ChildGetAllLookup.Add(typeof(UserProperty), "qryUP");
            ChildGetAllLookup.Add(typeof(EmployeeUserValue), "qryUV");


            ChildGetLookup.Add(typeof(Sponsor), "getSP");
            ChildGetLookup.Add(typeof(AllowanceType), "getAT");
            ChildGetLookup.Add(typeof(CertificateLevel), "getCL");
            ChildGetLookup.Add(typeof(TrainingType), "getTT");
            ChildGetLookup.Add(typeof(EntitlementDeduction), "getED");
            ChildGetLookup.Add(typeof(DocumentType), "getDT");
            ChildGetLookup.Add(typeof(SalaryChangeReason), "getSC");
            ChildGetLookup.Add(typeof(AssetCategory), "getAC");
            ChildGetLookup.Add(typeof(BonusType), "getBT");
            ChildGetLookup.Add(typeof(EmploymentHistory), "getEH");
            ChildGetLookup.Add(typeof(JobInfo), "getJI");
            ChildGetLookup.Add(typeof(EmployeeSalary), "getSA");
            ChildGetLookup.Add(typeof(Bonus), "getBO");
            ChildGetLookup.Add(typeof(SalaryDetail), "getSD");
            ChildGetLookup.Add(typeof(EmployeeNote), "getNO");
            ChildGetLookup.Add(typeof(EmployeeDocument), "getDO");
            ChildGetLookup.Add(typeof(EmployeeCertificate), "getCE");
            ChildGetLookup.Add(typeof(EmployeeRightToWork), "getRW");
            ChildGetLookup.Add(typeof(EmployeeBackgroundCheck), "getBC");
            ChildGetLookup.Add(typeof(CheckType), "getCT");
            ChildGetLookup.Add(typeof(Dependant), "getDE");
            ChildGetLookup.Add(typeof(TerminationReason), "getTR");
            ChildGetLookup.Add(typeof(AssetAllowance), "getAA");
            ChildGetLookup.Add(typeof(EmployeeEmergencyContact), "getEC");
            ChildGetLookup.Add(typeof(RelationshipType), "getRT");
            ChildGetLookup.Add(typeof(EmployeeQuickView), "getQV");
            ChildGetLookup.Add(typeof(EmployeeContact), "getCO");
            ChildGetLookup.Add(typeof(HireInfo), "getRE");
            ChildGetLookup.Add(typeof(Employee), "getEM2");
            ChildGetLookup.Add(typeof(EmployeeCount), "cntEM");
            ChildGetLookup.Add(typeof(EmployeeCalendar), "getCA");
            ChildGetLookup.Add(typeof(EmployeeCal), "getCA");


            ChildGetLookup.Add(typeof(NoticePeriod), "getNP");
            ChildGetLookup.Add(typeof(EmployeeTermination), "getTE");
            ChildGetLookup.Add(typeof(EmploymentStatus), "getST");
            ChildGetLookup.Add(typeof(EmploymentStatusByReferance), "getST2");
            ChildGetLookup.Add(typeof(EmployeePenalty), "getPE");
            ChildGetLookup.Add(typeof(EmployeePenaltyApproval), "getPA");
            ChildGetLookup.Add(typeof(UserProperty), "getUP");
            ChildGetLookup.Add(typeof(EmployeeUserValue), "getUV");



            ChildAddOrUpdateLookup.Add(typeof(Sponsor), "setSP");
            ChildAddOrUpdateLookup.Add(typeof(AllowanceType), "setAT");
            ChildAddOrUpdateLookup.Add(typeof(CertificateLevel), "setCL");
            ChildAddOrUpdateLookup.Add(typeof(TrainingType), "setTT");
            ChildAddOrUpdateLookup.Add(typeof(EntitlementDeduction), "setED");
            ChildAddOrUpdateLookup.Add(typeof(DocumentType), "setDT");
            ChildAddOrUpdateLookup.Add(typeof(SalaryChangeReason), "setSC");
            ChildAddOrUpdateLookup.Add(typeof(AssetCategory), "setAC");
            ChildAddOrUpdateLookup.Add(typeof(BonusType), "setBT");
            ChildAddOrUpdateLookup.Add(typeof(EmploymentHistory), "setEH");
            ChildAddOrUpdateLookup.Add(typeof(JobInfo), "setJI");
            ChildAddOrUpdateLookup.Add(typeof(EmploymentStatus), "setST");
            ChildAddOrUpdateLookup.Add(typeof(EmployeeSalary), "setSA");
            ChildAddOrUpdateLookup.Add(typeof(Bonus), "setBO");
            ChildAddOrUpdateLookup.Add(typeof(Dependant), "setDE");
            ChildAddOrUpdateLookup.Add(typeof(SalaryDetail[]), "arrSD");
            ChildAddOrUpdateLookup.Add(typeof(EmployeeNote), "setNO");
            ChildAddOrUpdateLookup.Add(typeof(EmployeeDocument), "setDO");
            ChildAddOrUpdateLookup.Add(typeof(EmployeeCertificate), "setCE");
            ChildAddOrUpdateLookup.Add(typeof(EmployeeRightToWork), "setRW");
            ChildAddOrUpdateLookup.Add(typeof(EmployeeBackgroundCheck), "setBC");
            ChildAddOrUpdateLookup.Add(typeof(CheckType), "setCT");
            ChildAddOrUpdateLookup.Add(typeof(TerminationReason), "setTR");
            ChildAddOrUpdateLookup.Add(typeof(EmployeeTermination), "setTE");
            ChildAddOrUpdateLookup.Add(typeof(AssetAllowance), "setAA");
            ChildAddOrUpdateLookup.Add(typeof(EmployeeEmergencyContact), "setEC");
            ChildAddOrUpdateLookup.Add(typeof(RelationshipType), "setRT");
            ChildAddOrUpdateLookup.Add(typeof(EmployeeContact), "setCO");
            ChildAddOrUpdateLookup.Add(typeof(HireInfo), "setRE");
            ChildAddOrUpdateLookup.Add(typeof(NoticePeriod), "setNP");
            ChildAddOrUpdateLookup.Add(typeof(BatchEM), "batEM");
            ChildAddOrUpdateLookup.Add(typeof(EmployeeCalendar), "setCA");
            ChildAddOrUpdateLookup.Add(typeof(EmployeeCal), "setCA");
            ChildAddOrUpdateLookup.Add(typeof(EmployeePenalty), "setPE");
            ChildAddOrUpdateLookup.Add(typeof(EmployeePenaltyApproval), "setPA");
            ChildAddOrUpdateLookup.Add(typeof(SyncFullName), "syncFullName");
            ChildAddOrUpdateLookup.Add(typeof(ShareAttachment), "share");
            ChildAddOrUpdateLookup.Add(typeof(UserProperty), "setUP");
            ChildAddOrUpdateLookup.Add(typeof(EmployeeUserValue), "setUV");
            ChildAddOrUpdateLookup.Add(typeof(SyncActivity), "syncPE");



            ChildDeleteLookup.Add(typeof(Sponsor), "delSP");
            ChildDeleteLookup.Add(typeof(AllowanceType), "delAT");
            ChildDeleteLookup.Add(typeof(CertificateLevel), "delCL");
            ChildDeleteLookup.Add(typeof(TrainingType), "delTT");
            ChildDeleteLookup.Add(typeof(EntitlementDeduction), "delED");
            ChildDeleteLookup.Add(typeof(DocumentType), "delDT");
            ChildDeleteLookup.Add(typeof(SalaryChangeReason), "delSC");
            ChildDeleteLookup.Add(typeof(AssetCategory), "delAC");
            ChildDeleteLookup.Add(typeof(BonusType), "delBT");
            ChildDeleteLookup.Add(typeof(EmploymentHistory), "delEH");
            ChildDeleteLookup.Add(typeof(JobInfo), "delJI");
            ChildDeleteLookup.Add(typeof(EmployeeSalary), "delSA");
            ChildDeleteLookup.Add(typeof(Bonus), "delBO");
            ChildDeleteLookup.Add(typeof(SalaryDetail), "delSD");
            ChildDeleteLookup.Add(typeof(EmployeeNote), "delNO");
            ChildDeleteLookup.Add(typeof(EmployeeDocument), "delDO");
            ChildDeleteLookup.Add(typeof(Dependant), "delDE");
            ChildDeleteLookup.Add(typeof(EmployeeCertificate), "delCE");
            ChildDeleteLookup.Add(typeof(EmployeeRightToWork), "delRW");
            ChildDeleteLookup.Add(typeof(EmployeeBackgroundCheck), "delBC");
            ChildDeleteLookup.Add(typeof(CheckType), "delCT");
            ChildDeleteLookup.Add(typeof(TerminationReason), "delTR");
            ChildDeleteLookup.Add(typeof(AssetAllowance), "delAA");
            ChildDeleteLookup.Add(typeof(EmployeeEmergencyContact), "delEC");
            ChildDeleteLookup.Add(typeof(EmployeeContact), "delCO");
            ChildDeleteLookup.Add(typeof(RelationshipType), "delRT");
            ChildDeleteLookup.Add(typeof(EmployeeCalendar), "delCA");
            ChildDeleteLookup.Add(typeof(NoticePeriod), "delNP");
            ChildDeleteLookup.Add(typeof(EmploymentStatus), "delST");
            ChildDeleteLookup.Add(typeof(EmployeeCal), "delCA");
            ChildDeleteLookup.Add(typeof(EmployeeTermination), "delTE");
            ChildDeleteLookup.Add(typeof(EmployeePenalty), "delPE");
            ChildDeleteLookup.Add(typeof(UserProperty), "delUP");
            ChildDeleteLookup.Add(typeof(EmployeeUserValue), "delUV");
        }
コード例 #21
0
        public TimeAttendanceRepository()
        {
            base.ServiceURL = ApplicationSettingsFactory.GetApplicationSettings().BaseURL + serviceName;

            ChildGetLookup.Add(typeof(DayType), "getDT");
            ChildGetLookup.Add(typeof(AttendanceSchedule), "getSC");
            ChildGetLookup.Add(typeof(AttendanceScheduleDay), "getSD");
            ChildGetLookup.Add(typeof(WorkingCalendar), "getCA");
            ChildGetLookup.Add(typeof(CalendarYear), "getCY");
            ChildGetLookup.Add(typeof(CalendarDay), "getCD");
            ChildGetLookup.Add(typeof(BiometricDevice), "getBM");
            ChildGetLookup.Add(typeof(Router), "getRO");
            ChildGetLookup.Add(typeof(Geofence), "getGF");
            ChildGetLookup.Add(typeof(Time), "getTA");
            ChildGetLookup.Add(typeof(DashBoardTimeVariation), "getTV");
            ChildGetLookup.Add(typeof(MonthlyLatenessPeriod), "getMLP");



            ChildGetAllLookup.Add(typeof(DayType), "qryDT");
            ChildGetAllLookup.Add(typeof(AttendanceSchedule), "qrySC");
            ChildGetAllLookup.Add(typeof(AttendanceScheduleDay), "qrySD");
            ChildGetAllLookup.Add(typeof(AttendanceBreak), "qrySB");
            ChildGetAllLookup.Add(typeof(WorkingCalendar), "qryCA");
            ChildGetAllLookup.Add(typeof(CalendarYear), "qryCY");
            ChildGetAllLookup.Add(typeof(CalendarDay), "qryCD");
            ChildGetAllLookup.Add(typeof(BiometricDevice), "qryBM");
            ChildGetAllLookup.Add(typeof(AttendanceDay), "qryAD");
            ChildGetAllLookup.Add(typeof(CheckMonitor), "qryCM");
            ChildGetAllLookup.Add(typeof(ActiveCheck), "qryAC");
            ChildGetAllLookup.Add(typeof(ActiveAbsence), "qryAA");
            ChildGetAllLookup.Add(typeof(ActiveLate), "qryAL");
            ChildGetAllLookup.Add(typeof(ActiveLeave), "qryAV");
            ChildGetAllLookup.Add(typeof(ActiveOut), "qryAO");
            ChildGetAllLookup.Add(typeof(MissedPunch), "qryMP");
            ChildGetAllLookup.Add(typeof(Router), "qryRO");
            ChildGetAllLookup.Add(typeof(Geofence), "qryGF");
            ChildGetAllLookup.Add(typeof(AttendanceShift), "qryAS");
            ChildGetAllLookup.Add(typeof(LeaveCalendarDay), "qryCD2");
            ChildGetAllLookup.Add(typeof(OvertimeSetting), "qryOT");
            ChildGetAllLookup.Add(typeof(FlatSchedule), "qryFS");
            ChildGetAllLookup.Add(typeof(PendingTA), "pendingTA");
            ChildGetAllLookup.Add(typeof(Time), "qryTA");
            ChildGetAllLookup.Add(typeof(DashBoardTimeVariation), "qryTV");
            ChildGetAllLookup.Add(typeof(DashBoardTimeVariation2), "qryMLD");
            ChildGetAllLookup.Add(typeof(PendingPunch), "qryPP");
            ChildGetAllLookup.Add(typeof(TimePerformance), "qryTP");
            ChildGetAllLookup.Add(typeof(FlatPunch), "qryFP");
            ChildGetAllLookup.Add(typeof(UnschedulePunch), "qryUP");
            ChildGetAllLookup.Add(typeof(UnschedulePunchDetails), "qryUPD");
            ChildGetAllLookup.Add(typeof(MonthlyLateness), "qryML");
            ChildGetAllLookup.Add(typeof(MonthlyLatenessPeriod), "getMLP");
            ChildGetAllLookup.Add(typeof(DashBoardTimeVariation3), "qryATV");
            ChildGetAllLookup.Add(typeof(RT308A), "qryCH");


            ChildAddOrUpdateLookup.Add(typeof(DayType), "setDT");
            ChildAddOrUpdateLookup.Add(typeof(AttendanceSchedule), "setSC");
            ChildAddOrUpdateLookup.Add(typeof(AttendanceScheduleDay), "setSD");
            ChildAddOrUpdateLookup.Add(typeof(AttendanceBreak[]), "arrSB");
            ChildAddOrUpdateLookup.Add(typeof(CalendarDay[]), "arrCD");
            ChildAddOrUpdateLookup.Add(typeof(WorkingCalendar), "setCA");
            ChildAddOrUpdateLookup.Add(typeof(CalendarYear), "setCY");
            ChildAddOrUpdateLookup.Add(typeof(CalendarDay), "setCD");
            ChildAddOrUpdateLookup.Add(typeof(BiometricDevice), "setBM");
            ChildAddOrUpdateLookup.Add(typeof(CalendarPattern), "batCD");
            ChildAddOrUpdateLookup.Add(typeof(SchedulePattern), "batSD");
            ChildAddOrUpdateLookup.Add(typeof(Router), "setRO");
            ChildAddOrUpdateLookup.Add(typeof(Geofence), "setGF");
            ChildAddOrUpdateLookup.Add(typeof(AttendanceShift), "setAS");
            ChildAddOrUpdateLookup.Add(typeof(AttendanceShift[]), "arrAS");
            ChildAddOrUpdateLookup.Add(typeof(Check), "setCH");
            ChildAddOrUpdateLookup.Add(typeof(CalendarAlternation), "altCD");
            ChildAddOrUpdateLookup.Add(typeof(OvertimeSetting), "setOT");
            ChildAddOrUpdateLookup.Add(typeof(GenerateAttendanceDay), "genFS");
            ChildAddOrUpdateLookup.Add(typeof(FlatSchedule), "setFS");
            ChildAddOrUpdateLookup.Add(typeof(Time), "setTA");
            ChildAddOrUpdateLookup.Add(typeof(PendingPunch), "processPP");
            ChildAddOrUpdateLookup.Add(typeof(DashBoardTimeVariation), "setTV");
            ChildAddOrUpdateLookup.Add(typeof(RejectTimeVariationc), "setRTV");
            ChildAddOrUpdateLookup.Add(typeof(MailFlatShedule), "mailFS");
            ChildAddOrUpdateLookup.Add(typeof(OverrideTimeVariation), "overrideTV");
            ChildAddOrUpdateLookup.Add(typeof(processUnscheduledPunch), "processUP");
            ChildAddOrUpdateLookup.Add(typeof(SyncActivity), "syncTV");
            ChildAddOrUpdateLookup.Add(typeof(ResetFlatSchedule), "resFS");
            ChildAddOrUpdateLookup.Add(typeof(GenerationHeader), "genML");

            ChildDeleteLookup.Add(typeof(AttendanceBreak), "delSB");
            ChildDeleteLookup.Add(typeof(AttendanceSchedule), "delSC");
            ChildDeleteLookup.Add(typeof(WorkingCalendar), "delCA");
            ChildDeleteLookup.Add(typeof(DayType), "delDT");
            ChildDeleteLookup.Add(typeof(BiometricDevice), "delBM");
            ChildDeleteLookup.Add(typeof(Router), "delRO");
            ChildDeleteLookup.Add(typeof(Geofence), "delGF");
            ChildDeleteLookup.Add(typeof(AttendanceShift), "delAS");
            ChildDeleteLookup.Add(typeof(OvertimeSetting), "delOT");
            ChildDeleteLookup.Add(typeof(FlatSchedule), "delFS");
            ChildDeleteLookup.Add(typeof(FlatScheduleRange), "delRangeFS");
            ChildDeleteLookup.Add(typeof(PendingPunch), "delPP");


            //Flat Schedule
        }
コード例 #22
0
        public SystemRepository()
        {
            base.ServiceURL = ApplicationSettingsFactory.GetApplicationSettings().BaseURL + serviceName;

            base.GetRecordMethodName = "getUS2";

            ChildAddOrUpdateLookup.Add(typeof(Nationality), "setNA");
            ChildAddOrUpdateLookup.Add(typeof(Currency), "setCU");
            ChildAddOrUpdateLookup.Add(typeof(UserInfo), "setUS");
            ChildAddOrUpdateLookup.Add(typeof(SystemFolder), "setFO");
            ChildAddOrUpdateLookup.Add(typeof(CompanyDocumentType), "setDT");
            ChildAddOrUpdateLookup.Add(typeof(CompanyRightToWork), "setRW");
            ChildAddOrUpdateLookup.Add(typeof(Attachement), "setAT");
            ChildAddOrUpdateLookup.Add(typeof(State), "setST");
            ChildAddOrUpdateLookup.Add(typeof(BatchOperationStatus), "setIM");
            ChildAddOrUpdateLookup.Add(typeof(GovernmentOrganisation), "setGO");
            ChildAddOrUpdateLookup.Add(typeof(LetterTemplate), "setLT");
            ChildAddOrUpdateLookup.Add(typeof(Letter), "setLE");
            ChildAddOrUpdateLookup.Add(typeof(EmployeeSelfService), "setSS");
            ChildAddOrUpdateLookup.Add(typeof(ResetPassword), "resetPW");



            ChildGetLookup.Add(typeof(UserInfo), "getUS");
            ChildGetLookup.Add(typeof(TransactionLog), "getTL");
            ChildGetLookup.Add(typeof(SystemFolder), "getFO");
            ChildGetLookup.Add(typeof(KeyValuePair <string, string>), "getDE");
            ChildGetLookup.Add(typeof(Currency), "getCU");
            ChildGetLookup.Add(typeof(Nationality), "getNA");
            ChildGetLookup.Add(typeof(CompanyDocumentType), "getDT");
            ChildGetLookup.Add(typeof(CompanyRightToWork), "getRW");
            ChildGetLookup.Add(typeof(State), "getST");
            ChildGetLookup.Add(typeof(BatchOperationStatus), "getIM");
            ChildGetLookup.Add(typeof(GovernmentOrganisation), "getGO");
            ChildGetLookup.Add(typeof(LetterTemplate), "getLT");
            ChildGetLookup.Add(typeof(Letter), "getLE");

            ChildGetLookup.Add(typeof(Attachement), "getAT");
            ChildGetLookup.Add(typeof(KeyId), "getAK");
            ChildGetLookup.Add(typeof(ApplyLetter), "applyLE");
            //ChildGetLookup.Add(typeof(ShareAttachment), "shareAT");

            ChildGetLookup.Add(typeof(UserInfoByEmployeeId), "getUS3");
            ChildGetLookup.Add(typeof(CurrencyByRef), "getCU2");
            ChildGetLookup.Add(typeof(BackgroundJob), "getBJ");

            ChildGetAllLookup.Add(typeof(ReportParameter), "qryRP");
            ChildGetAllLookup.Add(typeof(ModuleClass), "qryCL");
            ChildGetAllLookup.Add(typeof(TimeVariationHistory), "qryTL");



            ChildDeleteLookup.Add(typeof(Nationality), "delNA");
            ChildDeleteLookup.Add(typeof(UserInfo), "delUS");
            ChildDeleteLookup.Add(typeof(Currency), "delCU");
            ChildDeleteLookup.Add(typeof(Attachement), "delAT");
            ChildDeleteLookup.Add(typeof(SystemFolder), "delFO");
            ChildDeleteLookup.Add(typeof(CompanyDocumentType), "delDT");
            ChildDeleteLookup.Add(typeof(CompanyRightToWork), "delRW");
            ChildDeleteLookup.Add(typeof(State), "delST");
            ChildDeleteLookup.Add(typeof(GovernmentOrganisation), "delGO");
            ChildDeleteLookup.Add(typeof(LetterTemplate), "delLT");
            ChildDeleteLookup.Add(typeof(Letter), "delLE");



            ChildGetAllLookup.Add(typeof(Attachement), "qryAT");
            ChildGetAllLookup.Add(typeof(KeyValuePair <string, string>), "qryDE");
            ChildGetAllLookup.Add(typeof(TransactionLog), "qryTL");
            ChildGetAllLookup.Add(typeof(SystemFolder), "qryFO");
            ChildGetAllLookup.Add(typeof(Nationality), "qryNA");
            ChildGetAllLookup.Add(typeof(Currency), "qryCU");
            ChildGetAllLookup.Add(typeof(UserInfo), "qryUS");
            ChildGetAllLookup.Add(typeof(State), "qryST");
            ChildGetAllLookup.Add(typeof(CompanyDocumentType), "qryDT");
            ChildGetAllLookup.Add(typeof(CompanyRightToWork), "qryRW");
            ChildGetAllLookup.Add(typeof(SystemAlert), "qryAA");
            ChildGetAllLookup.Add(typeof(DashboardItem), "dashBoard");
            //Dashboard
            ChildGetAllLookup.Add(typeof(WorkAnniversary), "qryWA");
            ChildGetAllLookup.Add(typeof(EmployeeBirthday), "qryBD");
            ChildGetAllLookup.Add(typeof(EmpRTW), "qryER");
            ChildGetAllLookup.Add(typeof(CompanyRTW), "qryCR");
            ChildGetAllLookup.Add(typeof(SalaryChange), "qrySC");
            ChildGetAllLookup.Add(typeof(ProbationEnd), "qryPR");
            ChildGetAllLookup.Add(typeof(DepartmentActivity), "qryAD");
            ChildGetAllLookup.Add(typeof(LocalsRate), "qryLR");
            ChildGetAllLookup.Add(typeof(GovernmentOrganisation), "qryGO");
            ChildGetAllLookup.Add(typeof(LetterTemplate), "qryLT");
            ChildGetAllLookup.Add(typeof(Letter), "qryLE");
            ChildGetAllLookup.Add(typeof(AttendancePeriod), "qryAP");
            ChildGetAllLookup.Add(typeof(RetirementAge), "qryRE");
            ChildGetAllLookup.Add(typeof(TermEndDate), "qryTE");
            ChildGetAllLookup.Add(typeof(XMLDictionary), "qryXML");
            ChildGetAllLookup.Add(typeof(Model.System.ClassProperty), "qryCP");


            ChildAddOrUpdateLookup.Add(typeof(KeyValuePair <string, string>), "setDE");
            ChildAddOrUpdateLookup.Add(typeof(KeyValuePair <string, string>[]), "arrDE");
            ChildAddOrUpdateLookup.Add(typeof(SystemAlert[]), "arrAA");


            ChildAddOrUpdateLookup.Add(typeof(BatchSql), "batchSQL");
        }
コード例 #23
0
        public SelfServiceRepository()
        {
            base.ServiceURL = ApplicationSettingsFactory.GetApplicationSettings().BaseURL + serviceName;

            ChildGetAllLookup.Add(typeof(MyInfo), "qryEM");
            ChildGetAllLookup.Add(typeof(LetterSelfservice), "qryLE");
            ChildGetAllLookup.Add(typeof(AssetAllowanceSelfService), "qryAA");
            ChildGetAllLookup.Add(typeof(EmployeeComplaintSelfService), "qryCO");
            ChildGetAllLookup.Add(typeof(LeaveDaySelfservice), "qryLD");
            ChildGetAllLookup.Add(typeof(leaveRequetsSelfservice), "qryLR");
            ChildGetAllLookup.Add(typeof(FlatScheduleSelfService), "qryFS");
            ChildGetAllLookup.Add(typeof(AttendanceDay), "qryAD");
            ChildGetAllLookup.Add(typeof(TimeVariationSelfService), "qryTV");
            ChildGetAllLookup.Add(typeof(EmployeePayrollSelfService), "qryPE");
            ChildGetAllLookup.Add(typeof(TimeSelfService), "qryTA");
            ChildGetAllLookup.Add(typeof(LeaveType), "qryLT");
            ChildGetAllLookup.Add(typeof(loanSelfService), "qryLO");
            ChildGetAllLookup.Add(typeof(Dependant), "qryDE");
            ChildGetAllLookup.Add(typeof(EmployeeContact), "qryCO");
            ChildGetAllLookup.Add(typeof(EmployeeEmergencyContact), "qryEC");
            ChildGetAllLookup.Add(typeof(DashBoardTimeVariation), "qryTV");
            ChildGetAllLookup.Add(typeof(PayrollEntitlementDeduction), "qryED");
            ChildGetAllLookup.Add(typeof(PayrollSocialSecurity), "qryES");
            ChildGetAllLookup.Add(typeof(AdminDocTransfer), "qryTR");
            ChildGetAllLookup.Add(typeof(AssetLoan), "qryAL");
            ChildGetAllLookup.Add(typeof(GenerationHeader), "qryPE");
            ChildGetAllLookup.Add(typeof(LeaveReplacementApproval), "qryRA");

            ChildGetLookup.Add(typeof(MyInfo), "getEM1");
            ChildGetLookup.Add(typeof(EmployeeComplaintSelfService), "getCO");
            ChildGetLookup.Add(typeof(loanSelfService), "getLO");
            ChildGetLookup.Add(typeof(TimeSelfService), "getTA");
            ChildGetLookup.Add(typeof(UserInfoSelfService), "getUS");
            ChildGetLookup.Add(typeof(LeaveRequest), "getLR");
            ChildGetLookup.Add(typeof(EmployeeQuickView), "getQV");
            //ChildGetLookup.Add(typeof(KeyValuePair<string, string>), "getDE");
            ChildGetLookup.Add(typeof(Dependant), "getDE");
            ChildGetLookup.Add(typeof(EmployeeContact), "getCO");
            ChildGetLookup.Add(typeof(EmployeeEmergencyContact), "getEC");
            ChildGetLookup.Add(typeof(GenerationHeader), "getPE");
            ChildGetLookup.Add(typeof(LeaveReplacementApproval), "getRA");

            ChildAddOrUpdateLookup.Add(typeof(MyInfo), "setEM");
            ChildAddOrUpdateLookup.Add(typeof(UserInfoSelfService), "setUS");
            ChildAddOrUpdateLookup.Add(typeof(LeaveRequest), "setLR");
            ChildAddOrUpdateLookup.Add(typeof(loanSelfService), "setLO");
            ChildAddOrUpdateLookup.Add(typeof(LetterSelfservice), "setLE");
            ChildAddOrUpdateLookup.Add(typeof(LeaveDay[]), "arrLD");
            ChildAddOrUpdateLookup.Add(typeof(EmployeeComplaintSelfService), "setCO");
            ChildAddOrUpdateLookup.Add(typeof(TimeSelfService), "setTA");
            ChildAddOrUpdateLookup.Add(typeof(Dependant), "setDE");
            ChildAddOrUpdateLookup.Add(typeof(EmployeeContact), "setCO");
            ChildAddOrUpdateLookup.Add(typeof(EmployeeEmergencyContact), "setEC");
            ChildAddOrUpdateLookup.Add(typeof(DashBoardTimeVariation), "setTV");
            ChildAddOrUpdateLookup.Add(typeof(AttendanceShift), "setAS");
            ChildAddOrUpdateLookup.Add(typeof(AdminDocTransfer), "setTR");
            ChildAddOrUpdateLookup.Add(typeof(GenerationHeader), "setPE");
            ChildAddOrUpdateLookup.Add(typeof(LeaveReplacementApproval), "setRA");

            ChildDeleteLookup.Add(typeof(MyInfo), "delEM");
            ChildDeleteLookup.Add(typeof(EmployeeComplaintSelfService), "delCO");
            ChildDeleteLookup.Add(typeof(Dependant), "delDE");
            ChildDeleteLookup.Add(typeof(EmployeeContact), "delCO");
            ChildDeleteLookup.Add(typeof(EmployeeEmergencyContact), "delEC");
            ChildDeleteLookup.Add(typeof(leaveRequetsSelfservice), "delLR");
            ChildDeleteLookup.Add(typeof(loanSelfService), "delLO");
            ChildDeleteLookup.Add(typeof(AttendanceShift), "delAS");
            ChildDeleteLookup.Add(typeof(GenerationHeader), "delPE");
            ChildDeleteLookup.Add(typeof(LeaveReplacementApproval), "delRA");
        }
コード例 #24
0
        public AdministrationRepository()
        {
            base.ServiceURL = ApplicationSettingsFactory.GetApplicationSettings().BaseURL + serviceName;

            ChildGetAllLookup.Add(typeof(AdTemplate), "qryTE");
            ChildGetAllLookup.Add(typeof(TemplateBody), "qryTB");
            ChildGetAllLookup.Add(typeof(TemplateTag), "qryTM");
            ChildGetAllLookup.Add(typeof(BusinessPartnerCategory), "qryBC");
            ChildGetAllLookup.Add(typeof(BusinessPartner), "qryBP");
            ChildGetAllLookup.Add(typeof(DocumentCategory), "qryDC");
            ChildGetAllLookup.Add(typeof(AdminDocument), "qryDO");
            ChildGetAllLookup.Add(typeof(AdminDocumentNote), "qryDN");
            ChildGetAllLookup.Add(typeof(ProcessNotification), "qryPN");
            ChildGetAllLookup.Add(typeof(AdminDocumentDue), "qryDD");
            ChildGetAllLookup.Add(typeof(AdminDocTransfer), "qryDT");
            ChildGetAllLookup.Add(typeof(AdminDocumentDX), "qryDX");
            ChildGetAllLookup.Add(typeof(AdminDepartment), "qryDO");



            ChildGetLookup.Add(typeof(AdTemplate), "getTE");
            ChildGetLookup.Add(typeof(TemplateBody), "getTB");
            ChildGetLookup.Add(typeof(TemplateTag), "getTM");
            ChildGetLookup.Add(typeof(EmployeeTemplatePreview), "sampleTB");
            ChildGetLookup.Add(typeof(BusinessPartnerCategory), "getBC");
            ChildGetLookup.Add(typeof(BusinessPartner), "getBP");
            ChildGetLookup.Add(typeof(DocumentCategory), "getDC");
            ChildGetLookup.Add(typeof(AdminDocument), "getDO");
            ChildGetLookup.Add(typeof(AdminDocumentNote), "getDN");
            ChildGetLookup.Add(typeof(ProcessNotification), "getPN");
            ChildGetLookup.Add(typeof(AdminDocumentDue), "getDD");
            ChildGetLookup.Add(typeof(AdminDocTransfer), "getDT");
            ChildGetLookup.Add(typeof(AdminDocumentDX), "getDX");
            ChildGetLookup.Add(typeof(MailEmployee), "mailEM");


            ChildAddOrUpdateLookup.Add(typeof(AdTemplate), "setTE");
            ChildAddOrUpdateLookup.Add(typeof(TemplateBody), "setTB");
            ChildAddOrUpdateLookup.Add(typeof(TemplateTag), "setTM");
            ChildAddOrUpdateLookup.Add(typeof(TemplateTag[]), "arrTM");
            ChildAddOrUpdateLookup.Add(typeof(BusinessPartnerCategory), "setBC");
            ChildAddOrUpdateLookup.Add(typeof(BusinessPartner), "setBP");
            ChildAddOrUpdateLookup.Add(typeof(DocumentCategory), "setDC");
            ChildAddOrUpdateLookup.Add(typeof(AdminDocument), "setDO");
            ChildAddOrUpdateLookup.Add(typeof(AdminDocumentNote), "setDN");
            ChildAddOrUpdateLookup.Add(typeof(GenerateAdminDocumentDue), "genDD");
            ChildAddOrUpdateLookup.Add(typeof(ProcessNotification), "setPN");
            ChildAddOrUpdateLookup.Add(typeof(AdminDocumentDue), "setDD");
            ChildAddOrUpdateLookup.Add(typeof(AdminDocTransfer), "setDT");
            ChildAddOrUpdateLookup.Add(typeof(AdminDocumentDX), "setDX");
            ChildAddOrUpdateLookup.Add(typeof(AdminDepartment), "setDE");
            ChildAddOrUpdateLookup.Add(typeof(AdminDocumentDX[]), "aseDX");
            //  ChildAddOrUpdateLookup.Add(typeof(MailEmployee), "mailEM");


            ChildDeleteLookup.Add(typeof(AdTemplate), "delTE");
            ChildDeleteLookup.Add(typeof(TemplateBody), "delTB");
            ChildDeleteLookup.Add(typeof(TemplateTag), "delTM");
            ChildDeleteLookup.Add(typeof(BusinessPartnerCategory), "delBC");
            ChildDeleteLookup.Add(typeof(BusinessPartner), "delBP");
            ChildDeleteLookup.Add(typeof(DocumentCategory), "delDC");
            ChildDeleteLookup.Add(typeof(AdminDocument), "delDO");
            ChildDeleteLookup.Add(typeof(AdminDocumentNote), "delDN");
            ChildDeleteLookup.Add(typeof(ProcessNotification), "delPN");
            ChildDeleteLookup.Add(typeof(AdminDocumentDue), "delDD");
            ChildDeleteLookup.Add(typeof(AdminDocTransfer), "delDT");
            ChildDeleteLookup.Add(typeof(AdminDocumentDX), "delDX");
            ChildDeleteLookup.Add(typeof(AdminDepartment), "delDE");
            ChildDeleteLookup.Add(typeof(AdminDocumentDX[]), "adeDX ");
        }