use connectiong string in getscalarvaluewithconnection
This commit is contained in:
parent
ec3ac118f3
commit
ffa3159c43
@ -242,7 +242,7 @@ Public Class MSSQLServer
|
|||||||
|
|
||||||
_Logger.Debug("GetScalarValue: Running Query [{0}]", SQLCommand)
|
_Logger.Debug("GetScalarValue: Running Query [{0}]", SQLCommand)
|
||||||
|
|
||||||
Using oConnection As SqlConnection = GetSQLConnection()
|
Using oConnection As SqlConnection = GetSQLConnection(ConnectionString)
|
||||||
Using oSQLCOmmand = oConnection.CreateCommand()
|
Using oSQLCOmmand = oConnection.CreateCommand()
|
||||||
oSQLCOmmand.CommandText = SQLCommand
|
oSQLCOmmand.CommandText = SQLCommand
|
||||||
oSQLCOmmand.CommandTimeout = _Timeout
|
oSQLCOmmand.CommandTimeout = _Timeout
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user