ConfigDBFunct Logging
This commit is contained in:
@@ -36,6 +36,8 @@ Public Class ConfigDbFunct
|
|||||||
Dim oDatabase As MSSQLServer = New MSSQLServer(pLogConfig, oDecryptedConnectionString)
|
Dim oDatabase As MSSQLServer = New MSSQLServer(pLogConfig, oDecryptedConnectionString)
|
||||||
|
|
||||||
Dim oSql As String = "SELECT LICENSE FROM TBDD_3RD_PARTY_MODULES WHERE NAME = '" + pProductName + "' AND ACTIVE = 1 AND VERSION = '" + pVersion + "'"
|
Dim oSql As String = "SELECT LICENSE FROM TBDD_3RD_PARTY_MODULES WHERE NAME = '" + pProductName + "' AND ACTIVE = 1 AND VERSION = '" + pVersion + "'"
|
||||||
|
oLogger.Debug(String.Format("oSql in GetProductLicense: {0}", oSql))
|
||||||
|
Return String.Empty
|
||||||
Dim oLicenseString As String = oDatabase.GetScalarValue(oSql)
|
Dim oLicenseString As String = oDatabase.GetScalarValue(oSql)
|
||||||
|
|
||||||
Return oLicenseString
|
Return oLicenseString
|
||||||
|
|||||||
Reference in New Issue
Block a user