Compare commits

...

2 Commits

Author SHA1 Message Date
Jonathan Jenne
6eac545959 add returns for fallback getdatatable calls 2021-01-11 11:25:46 +01:00
Jonathan Jenne
dbbe9cdd62 remove default app server value 2021-01-11 11:25:29 +01:00
2 changed files with 3 additions and 3 deletions

View File

@@ -20,7 +20,7 @@ Public Class ClassConfig
<ConnectionStringAppServer>
Public Property ConnectionStringAppServer As String = ""
<GlobalSetting>
Public Property AppServerConfig As String = "172.24.12.39:9000"
Public Property AppServerConfig As String = ""
Public ReadOnly Property IsIDB As Boolean
Get

View File

@@ -15,11 +15,11 @@ Public Class ClassDataASorDB
oReturnDT = oTableResult.Table
If IsNothing(oReturnDT) Then
_Logger.Warn($"Datatable from ApPServData is nothing [{pAppServDT} - {pAppServFilter}] - Failover via DB")
GetDatatable(pSQL, "", "", "", "DB")
Return GetDatatable(pSQL, "", "", "", "DB")
End If
Catch ex As Exception
_Logger.Warn($"Error getting ApPServData [{pAppServDT} - {pAppServFilter}]")
GetDatatable(pSQL, "", "", "", "DB")
Return GetDatatable(pSQL, "", "", "", "DB")
End Try
Else
oReturnDT = Database.GetDatatable(pSQL)