Zooflow: Implement prefix for Config and Logging, Remove halbgar dev config
This commit is contained in:
@@ -21,31 +21,11 @@ Imports DigitalData.Modules.Config.ConfigAttributes
|
||||
'''
|
||||
''' After changing a config value, My.ConfigManager.Save() must be called to persist the change in the config file
|
||||
''' </summary>
|
||||
Public Class ClassConfig
|
||||
Public Function GetConnectionStringBuilder(ConnectionString As String) As SqlClient.SqlConnectionStringBuilder
|
||||
Try
|
||||
If ConnectionString = String.Empty Then
|
||||
Return Nothing
|
||||
End If
|
||||
|
||||
Dim oBuilder As New SqlClient.SqlConnectionStringBuilder(ConnectionString)
|
||||
Return oBuilder
|
||||
Catch ex As Exception
|
||||
Return Nothing
|
||||
End Try
|
||||
End Function
|
||||
|
||||
|
||||
Public Class SystemConfig
|
||||
' === Service Configuration ===
|
||||
<ConnectionString>
|
||||
Public Property ConnectionString As String = String.Empty
|
||||
|
||||
<GlobalSetting>
|
||||
Public Property AppServerConfig As String = String.Empty
|
||||
|
||||
<GlobalSetting>
|
||||
Public Property AppServerConfigDevelopment As String = String.Empty
|
||||
|
||||
' === Logging Configuration
|
||||
Public Property LogDebug As Boolean = False
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
Public Class ClassUIConfig
|
||||
Public Class UIConfig
|
||||
Public Property FlowForm As New FlowFormConfig
|
||||
Public Property SearchForm As New SearchFormConfig
|
||||
Public Property Globix As New GlobixConfig
|
||||
Reference in New Issue
Block a user