Update auf .NET 8
This commit is contained in:
@@ -1,7 +1,9 @@
|
||||
Imports System.ComponentModel
|
||||
Imports System.Data
|
||||
Imports System.Data.SqlClient
|
||||
Imports DigitalData.Modules.Encryption
|
||||
Imports DigitalData.Modules.Logging
|
||||
Imports Digitaldata.Modules.Encryption
|
||||
Imports Digitaldata.Modules.Logging
|
||||
Imports Microsoft.Data.SqlClient
|
||||
|
||||
Public Class MSSQLServer
|
||||
Implements IDatabase
|
||||
@@ -35,6 +37,10 @@ Public Class MSSQLServer
|
||||
QueryTimeout = pTimeout
|
||||
|
||||
Try
|
||||
|
||||
If Not pConnectionString.Contains("TrustServerCertificate") Then
|
||||
pConnectionString += ";TrustServerCertificate=true"
|
||||
End If
|
||||
CurrentConnectionString = pConnectionString
|
||||
DBInitialized = TestCanConnect(CurrentConnectionString)
|
||||
Catch ex As Exception
|
||||
|
||||
Reference in New Issue
Block a user