Zooflow: Update
This commit is contained in:
@@ -96,7 +96,7 @@ Public Class GlobalState
|
||||
Public Sub LoadObjectStores()
|
||||
_Logger.Info("Loading Object Stores")
|
||||
Try
|
||||
Dim oSQL As String = "SELECT * FROM VWIDB_OBJECTSTORE"
|
||||
Dim oSQL As String = "SELECT * FROM VWIDB_OBJECT_STORE"
|
||||
Dim oTable As DataTable = _MSSQL_IDB.GetDatatable(oSQL)
|
||||
|
||||
_Logger.Info("Found [{0}] Object Stores", oTable.Rows.Count)
|
||||
@@ -105,10 +105,10 @@ Public Class GlobalState
|
||||
|
||||
For Each oRow As DataRow In oTable.Rows
|
||||
Dim oStore As New ObjectStore() With {
|
||||
.Id = oRow.Item("OST_ID"),
|
||||
.IsArchive = oRow.Item("OS_IS_ARCHIVE"),
|
||||
.Path = oRow.Item("IDB_PRAEFIX"),
|
||||
.Title = oRow.Item("OS_TITLE")
|
||||
.Id = oRow.Item("GUID"),
|
||||
.IsArchive = oRow.Item("Archive"),
|
||||
.Path = oRow.Item("REL_PATH"),
|
||||
.Title = oRow.Item("Objectstore")
|
||||
}
|
||||
_Logger.Info("New Object Store [{0}]", oStore.Title)
|
||||
oObjectStores.Add(oStore)
|
||||
|
||||
Reference in New Issue
Block a user