コード例 #1
0
 public CompositeEntitySeeder(IUnitOfWork unitOfWork
     , CoreSqlSeeder coreSqlSeeder
     //, LanguageEntitySeeder languageEntitySeeder // this or CoreSqlSeeder
     //, LanguageSqlSeeder languageSqlSeeder // this or CoreSqlSeeder
     //, CountryAndAdmin1ByGeoPlanetEntitySeeder countryAndAdmin1ByGeoPlanetEntitySeeder // this or CoreSqlSeeder
     , WaterBodiesByGeoServicesEntitySeeder waterBodiesByGeoServicesEntitySeeder // this or CoreSqlSeeder
     , RegionsByGeoServicesEntitySeeder regionsByGeoServicesEntitySeeder // this or CoreSqlSeeder
     , RoleEntitySeeder roleEntitySeeder
     , EstablishmentEntitySeeder establishmentEntitySeeder
     , EmailTemplateEntitySeeder emailTemplateEntitySeeder
     , PersonEntitySeeder personEntitySeeder
     , UserEntitySeeder userEntitySeeder
     , MemberEntitySeeder memberEntitySeeder
     , InstitutionalAgreementEntitySeeder institutionalAgreementEntitySeeder
     , InstitutionalAgreementSettingsEntitySeeder institutionalAgreementSettingsEntitySeeder
     , EmployeeModuleSettingsEntitySeeder employeeModuleSettingsEntitySeeder
     , AffiliationEntitySeeder affiliationEntitySeeder
     , EmployeeEntitySeeder employeeEntitySeeder
     , ActivityEntitySeeder activityEntitySeeder
     , LoadableFileEntitySeeder loadableFileEntitySeeder
     , ImageEntitySeeder imageEntitySeeder
     , DegreeEntitySeeder degreeEntitySeeder
     , GeographicExpertiseEntitySeeder geographicExpertiseEntitySeeder
     , LanguageExpertiseEntitySeeder languageExpertiseEntitySeeder
 )
 {
     _unitOfWork = unitOfWork;
     _coreSqlSeeder = coreSqlSeeder;
     //_languageSqlSeeder = languageSqlSeeder; // this or CoreSqlSeeder
     //_languageEntitySeeder = languageEntitySeeder; // this or CoreSqlSeeder
     //_countryAndAdmin1ByGeoPlanetEntitySeeder = countryAndAdmin1ByGeoPlanetEntitySeeder; // this or CoreSqlSeeder
     _waterBodiesByGeoServicesEntitySeeder = waterBodiesByGeoServicesEntitySeeder; // this or CoreSqlSeeder
     _regionsByGeoServicesEntitySeeder = regionsByGeoServicesEntitySeeder; // this or CoreSqlSeeder
     _roleEntitySeeder = roleEntitySeeder;
     _establishmentEntitySeeder = establishmentEntitySeeder;
     _employeeModuleSettingsEntitySeeder = employeeModuleSettingsEntitySeeder;
     _employeeEntitySeeder = employeeEntitySeeder;
     _emailTemplateEntitySeeder = emailTemplateEntitySeeder;
     _personEntitySeeder = personEntitySeeder;
     _userEntitySeeder = userEntitySeeder;
     _memberEntitySeeder = memberEntitySeeder;
     _institutionalAgreementEntitySeeder = institutionalAgreementEntitySeeder;
     _institutionalAgreementSettingsEntitySeeder = institutionalAgreementSettingsEntitySeeder;
     _affiliationEntitySeeder = affiliationEntitySeeder;
     _activityEntitySeeder = activityEntitySeeder;
     _loadableFileEntitySeeder = loadableFileEntitySeeder;
     _imageEntitySeeder = imageEntitySeeder;
     _degreeEntitySeeder = degreeEntitySeeder;
     _geographicExpertiseEntitySeeder = geographicExpertiseEntitySeeder;
     _languageExpertiseEntitySeeder = languageExpertiseEntitySeeder;
 }
コード例 #2
0
 public CompositeEntitySeeder(IUnitOfWork unitOfWork
                              , CoreSqlSeeder coreSqlSeeder
                              , PrivateSqlSeeder privateSqlSeeder
                                                                                                          //, LanguageEntitySeeder languageEntitySeeder // this or CoreSqlSeeder
                                                                                                          //, LanguageSqlSeeder languageSqlSeeder // this or CoreSqlSeeder
                                                                                                          //, CountryAndAdmin1ByGeoPlanetEntitySeeder countryAndAdmin1ByGeoPlanetEntitySeeder // this or CoreSqlSeeder
                              , WaterBodiesByGeoServicesEntitySeeder waterBodiesByGeoServicesEntitySeeder // this or CoreSqlSeeder
                              , RegionsByGeoServicesEntitySeeder regionsByGeoServicesEntitySeeder         // this or CoreSqlSeeder
                              , RoleEntitySeeder roleEntitySeeder
                              , EstablishmentEntitySeeder establishmentEntitySeeder
                              , EmailTemplateEntitySeeder emailTemplateEntitySeeder
                              , PersonEntitySeeder personEntitySeeder
                              , UserEntitySeeder userEntitySeeder
                              , MemberEntitySeeder memberEntitySeeder
                              , AgreementEntitySeeder agreementEntitySeeder
                              , AgreementSettingsEntitySeeder agreementSettingsEntitySeeder
                              , EmployeeModuleSettingsEntitySeeder employeeModuleSettingsEntitySeeder
                              , ActivityEntitySeeder activityEntitySeeder
                              , DegreeEntitySeeder degreeEntitySeeder
                              , GeographicExpertiseEntitySeeder geographicExpertiseEntitySeeder
                              , LanguageExpertiseEntitySeeder languageExpertiseEntitySeeder
                              , InternationalAffiliationEntitySeeder internationAffiliationEntitySeeder
                              )
 {
     _unitOfWork       = unitOfWork;
     _coreSqlSeeder    = coreSqlSeeder;
     _privateSqlSeeder = privateSqlSeeder;
     //_languageSqlSeeder = languageSqlSeeder; // this or CoreSqlSeeder
     //_languageEntitySeeder = languageEntitySeeder; // this or CoreSqlSeeder
     //_countryAndAdmin1ByGeoPlanetEntitySeeder = countryAndAdmin1ByGeoPlanetEntitySeeder; // this or CoreSqlSeeder
     _waterBodiesByGeoServicesEntitySeeder = waterBodiesByGeoServicesEntitySeeder; // this or CoreSqlSeeder
     _regionsByGeoServicesEntitySeeder     = regionsByGeoServicesEntitySeeder;     // this or CoreSqlSeeder
     _roleEntitySeeder                   = roleEntitySeeder;
     _establishmentEntitySeeder          = establishmentEntitySeeder;
     _employeeModuleSettingsEntitySeeder = employeeModuleSettingsEntitySeeder;
     _emailTemplateEntitySeeder          = emailTemplateEntitySeeder;
     _personEntitySeeder                 = personEntitySeeder;
     _userEntitySeeder                   = userEntitySeeder;
     _memberEntitySeeder                 = memberEntitySeeder;
     _agreementEntitySeeder              = agreementEntitySeeder;
     _agreementSettingsEntitySeeder      = agreementSettingsEntitySeeder;
     _activityEntitySeeder               = activityEntitySeeder;
     _degreeEntitySeeder                 = degreeEntitySeeder;
     _geographicExpertiseEntitySeeder    = geographicExpertiseEntitySeeder;
     _languageExpertiseEntitySeeder      = languageExpertiseEntitySeeder;
     _internationAffiliationEntitySeeder = internationAffiliationEntitySeeder;
 }