public void Seed() { _coreSqlSeeder.Seed(); //_languageEntitySeeder.Seed(); // this or CoreSqlSeeder //_languageSqlSeeder.Seed(); // this or CoreSqlSeeder //_countryAndAdmin1ByGeoPlanetEntitySeeder.Seed(); // this or CoreSqlSeeder _waterBodiesByGeoServicesEntitySeeder.Seed(); // this or CoreSqlSeeder _regionsByGeoServicesEntitySeeder.Seed(); // this or CoreSqlSeeder /* Note these lines are order dependent. */ _roleEntitySeeder.Seed(); _establishmentEntitySeeder.Seed(); _emailTemplateEntitySeeder.Seed(); _employeeModuleSettingsEntitySeeder.Seed(); _personEntitySeeder.Seed(); _userEntitySeeder.Seed(); _memberEntitySeeder.Seed(); _agreementEntitySeeder.Seed(); _agreementSettingsEntitySeeder.Seed(); _activityEntitySeeder.Seed(); _degreeEntitySeeder.Seed(); _geographicExpertiseEntitySeeder.Seed(); _languageExpertiseEntitySeeder.Seed(); _internationAffiliationEntitySeeder.Seed(); _privateSqlSeeder.Seed(); _unitOfWork.SaveChanges(); }
public override void Seed() { //_languageEntitySeeder.Seed(); //_languageSqlSeeder.Seed(); //_placeByGeoPlanetEntitySeeder.Seed(); _coreSqlSeeder.Seed(); _roleEntitySeeder.Seed(); _establishmentEntitySeeder.Seed(); _emailTemplateEntitySeeder.Seed(); _personEntitySeeder.Seed(); _userEntitySeeder.Seed(); _memberEntitySeeder.Seed(); _institutionalAgreementEntitySeeder.Seed(); _institutionalAgreementSettingsEntitySeeder.Seed(); _unitOfWork.SaveChanges(); }