When displaying Database Type use SQL Server rather than LocalDB to avoid confusion

This commit is contained in:
sbwalker
2024-10-14 16:21:03 -04:00
parent 04b38444ce
commit 93d4bfcd7a
2 changed files with 10 additions and 19 deletions

View File

@ -571,7 +571,7 @@
if (tenant != null)
{
_tenant = tenant.Name;
_database = _databases.Find(item => item.DBType == tenant.DBType)?.Name;
_database = _databases.Find(item => item.DBType == tenant.DBType && item.Name != "LocalDB")?.Name;
_connectionstring = tenant.DBConnectionString;
}
}