コード例 #1
0
        protected override void OnModelCreating(ModelBuilder modelBuilder)
        {
            BenefitTableBuilder.Build(modelBuilder);
            AllowanceTypeTableBuilder.Build(modelBuilder);
            CountryTableBuilder.Build(modelBuilder);
            OrganisationTableBuilder.Build(modelBuilder);
            ProvinceTableBuilder.Build(modelBuilder);
            PaymentFrequencyTableBuilder.Build(modelBuilder);

            AddressTableBuilder.Build(modelBuilder);

            RoleTableBuilder.Build(modelBuilder);

            AccountTableBuilder.Build(modelBuilder);

            CompanyTableBuilder.Build(modelBuilder);
            CompanyBankDetailTableBuilder.Build(modelBuilder);
            CompanyPayrollSettingTableBuilder.Build(modelBuilder);

            EmployeeTableBuilder.Build(modelBuilder);
            EmployeePayrollTableBuilder.Build(modelBuilder);
            EmployeeAllowanceTableBuilder.Build(modelBuilder);
            EmployeeBenefitTableBuilder.Build(modelBuilder);
            EmployeeMedicalAidTableBuilder.Build(modelBuilder);

            IncomeTaxTableBuilder.Build(modelBuilder);
            MedicalAidTaxCreditTableBuilder.Build(modelBuilder);
            PensionFundTableBuilder.Build(modelBuilder);
            TaxRebateTableBuilder.Build(modelBuilder);
            TaxThresholdTableBuilder.Build(modelBuilder);
            UifTableBuilder.Build(modelBuilder);
            AllowanceTableBuilder.Build(modelBuilder);
            LookupTableBuilder.Build(modelBuilder);
        }
コード例 #2
0
 protected override void OnModelCreating(ModelBuilder modelBuilder)
 {
     AccountTableBuilder.Build(modelBuilder);
     AddressTableBuilder.Build(modelBuilder);
     CompanyTableBuilder.Build(modelBuilder);
     CountryTableBuilder.Build(modelBuilder);
     OrganisationTableBuilder.Build(modelBuilder);
     ProvinceTableBuilder.Build(modelBuilder);
     RoleTableBuilder.Build(modelBuilder);
     CompanyBankDetailTableBuilder.Build(modelBuilder);
     CompanyPayrollSettingTableBuilder.Build(modelBuilder);
     EmployeeTableBuilder.Build(modelBuilder);
     EmployeeCompanyDetailTableBuilder.Build(modelBuilder);
 }