net 6 migration

This commit is contained in:
Roland Fieger
2021-10-15 09:14:09 +02:00
parent f8c6316d4e
commit 505487a345
7 changed files with 43 additions and 38 deletions

View File

@@ -33,7 +33,7 @@ namespace Repositories
}
else
{
string usedDb = configuration.GetSection("GeneralSettings").GetSection("DbToUse").Get<string>();
string usedDb = configuration.GetSection("GeneralSettings").GetSection("DbToUse").Value;
string connectionString = configuration.GetConnectionString(usedDb);
_dbContext._connectionString = connectionString;
}