Zooflow: Update

This commit is contained in:
Jonathan Jenne
2022-03-09 14:55:58 +01:00
parent e9662a9835
commit f48912b996
3 changed files with 10 additions and 12 deletions

View File

@@ -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)