public ChiMaMigratorModule(ChiMaEFCoreModule ChiMaEFCoreModule) { ChiMaEFCoreModule.SkipDbSeed = true; //_appConfiguration = AppConfigurations.Get( // typeof(ChiMaMigratorModule).GetAssembly().GetDirectoryPathOrNull() //); _appConfiguration = AppConfigurations.GetWebConfigByEnviroment(Program.Environment); }
public ChiMaCrawlerModule(ChiMaEFCoreModule ChiMaEFCoreModule) { //ChiMaEFCoreModule.SkipDbSeed = true; //_appConfiguration = AppConfigurations.Get( // typeof(ChiMaCrawlerModule).GetAssembly().GetDirectoryPathOrNull() //); // 就读哥数据库连接,没啥意义! //_appConfiguration = AppConfigurations.Get(WebContentDirectoryFinder.CalculateContentRootFolder()); _appConfiguration = AppConfigurations.GetWebConfigByEnviroment(Program.Environment); }