コード例 #1
0
 public override void InitModuleObjectList()
 {
     RewardTypesList.InitVinaList(this, string.Empty, "ADConfigValues", VinaList <ADConfigValuesInfo> .cstRelationNone);
     DisciplineTypesList.InitVinaList(this, string.Empty, "ADConfigValues", VinaList <ADConfigValuesInfo> .cstRelationNone);
     WorkingShiftGroupsList.InitVinaList(this, string.Empty, "ADWorkingShiftGroups", VinaList <ADWorkingShiftGroupsInfo> .cstRelationNone);
     FormAllowancesList.InitVinaList(this, string.Empty, "HRFormAllowances", VinaList <HRFormAllowancesInfo> .cstRelationNone);
     OTFactorsList.InitVinaList(this, string.Empty, "ADOTFactors", VinaList <ADOTFactorsInfo> .cstRelationNone);
     TimesheetEmployeeLateConfigsList.InitVinaList(this, string.Empty, "HRTimesheetEmployeeLateConfigs", VinaList <HRTimesheetEmployeeLateConfigsInfo> .cstRelationNone);
     TimesheetConfigsList.InitVinaList(this, string.Empty, "ADTimesheetConfigs", VinaList <ADTimesheetConfigsInfo> .cstRelationNone);
     WorkingShiftsList.InitVinaList(this, string.Empty, "ADWorkingShifts", VinaList <ADWorkingShiftsInfo> .cstRelationNone);
     TimeSheetParamsList.InitVinaList(this, string.Empty, "HRTimeSheetParams", VinaList <HRTimeSheetParamsInfo> .cstRelationNone);
     TimeSheetParam2sList.InitVinaList(this, string.Empty, "HRTimeSheetParams", VinaList <HRTimeSheetParamsInfo> .cstRelationNone);
 }
コード例 #2
0
        public override void InitModuleObjectList()
        {
            EmployeePayrollFormulaItemsList.InitVinaList(this,
                                                         TableName.HREmployeePayrollFormulasTableName,
                                                         TableName.HREmployeePayrollFormulaItemsTableName,
                                                         VinaList <HREmployeePayrollFormulaItemsInfo> .cstRelationForeign);
            EmployeePayrollFormulaItemsList.ItemTableForeignKey = "FK_HREmployeePayrollFormulaID";

            WorkingShiftsList.InitVinaList(this,
                                           TableName.HREmployeePayrollFormulasTableName,
                                           TableName.HRWorkingShiftsTableName,
                                           VinaList <HRWorkingShiftsInfo> .cstRelationForeign);
            WorkingShiftsList.ItemTableForeignKey = "FK_HREmployeePayrollFormulaID";

            OTFactorsList.InitVinaList(this,
                                       TableName.HREmployeePayrollFormulasTableName,
                                       TableName.HROTFactorsTableName,
                                       VinaList <HROTFactorsInfo> .cstRelationForeign);
            OTFactorsList.ItemTableForeignKey = "FK_HREmployeePayrollFormulaID";

            TimesheetEmployeeLatesList.InitVinaList(this,
                                                    TableName.HREmployeePayrollFormulasTableName,
                                                    TableName.HRTimesheetEmployeeLatesTableName,
                                                    VinaList <HRTimesheetEmployeeLatesInfo> .cstRelationForeign);
            TimesheetEmployeeLatesList.ItemTableForeignKey = "FK_HREmployeePayrollFormulaID";

            TimesheetConfigsList.InitVinaList(this,
                                              TableName.HREmployeePayrollFormulasTableName,
                                              TableName.HRTimesheetConfigsTableName,
                                              VinaList <HRTimesheetConfigsInfo> .cstRelationForeign);
            TimesheetConfigsList.ItemTableForeignKey = "FK_HREmployeePayrollFormulaID";

            AllowanceConfigsList.InitVinaList(this,
                                              TableName.HREmployeePayrollFormulasTableName,
                                              TableName.HRAllowanceConfigsTableName,
                                              VinaList <HRAllowanceConfigsInfo> .cstRelationForeign);
            AllowanceConfigsList.ItemTableForeignKey = "FK_HREmployeePayrollFormulaID";
        }