Merge pull request #5973 from sbwalker/dev
use primary database type if type not explicitly specified
This commit is contained in:
@@ -211,7 +211,14 @@ else
|
||||
}
|
||||
else
|
||||
{
|
||||
_databasetype = $"Connection Needs To Be Renamed: '{_connection} (Type)'";
|
||||
if (_databases.Exists(item => item.IsDefault))
|
||||
{
|
||||
_databasetype = _databases.Find(item => item.IsDefault).Name;
|
||||
}
|
||||
else
|
||||
{
|
||||
_databasetype = Constants.DefaultDBName;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user