mirror of
https://github.com/ckaczor/sqltoolsservice.git
synced 2026-01-19 17:23:55 -05:00
Upgrade solution to .NET 6.0.9 (Build with .NET SDK v6.0.401) (#1692)
This commit is contained in:
@@ -84,10 +84,7 @@ namespace Microsoft.SqlTools.ServiceLayer.Connection
|
||||
{
|
||||
get
|
||||
{
|
||||
if (lockedDatabaseManager == null)
|
||||
{
|
||||
lockedDatabaseManager = DatabaseLocksManager.Instance;
|
||||
}
|
||||
lockedDatabaseManager ??= DatabaseLocksManager.Instance;
|
||||
return lockedDatabaseManager;
|
||||
}
|
||||
set
|
||||
@@ -216,10 +213,7 @@ namespace Microsoft.SqlTools.ServiceLayer.Connection
|
||||
{
|
||||
get
|
||||
{
|
||||
if (this.connectionFactory == null)
|
||||
{
|
||||
this.connectionFactory = new SqlConnectionFactory();
|
||||
}
|
||||
this.connectionFactory ??= new SqlConnectionFactory();
|
||||
return this.connectionFactory;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user