private void LoadColumnInformation()
{
columnsInformation = new ColumnsInformation();
instance.WithDatabase(database, (session, dbid) =>
{
using (var table = new Table(session, dbid, "subqueues", OpenTableGrbit.ReadOnly))
{
columnsInformation.SubqueuesColumns = Api.GetColumnDictionary(session, table);
}
using (var table = new Table(session, dbid, "outgoing_history", OpenTableGrbit.ReadOnly))
{
columnsInformation.OutgoingHistoryColumns = Api.GetColumnDictionary(session, table);
}
using (var table = new Table(session, dbid, "outgoing", OpenTableGrbit.ReadOnly))
{
columnsInformation.OutgoingColumns = Api.GetColumnDictionary(session, table);
}
using (var table = new Table(session, dbid, "recovery", OpenTableGrbit.ReadOnly))
{
columnsInformation.RecoveryColumns = Api.GetColumnDictionary(session, table);
}
using (var table = new Table(session, dbid, "transactions", OpenTableGrbit.ReadOnly))
{
columnsInformation.TxsColumns = Api.GetColumnDictionary(session, table);
}
using (var table = new Table(session, dbid, "queues", OpenTableGrbit.ReadOnly))
{
columnsInformation.QueuesColumns = Api.GetColumnDictionary(session, table);
}
using (var table = new Table(session, dbid, "recveived_msgs", OpenTableGrbit.ReadOnly))
{
columnsInformation.RecveivedMsgsColumns = Api.GetColumnDictionary(session, table);
}
});
}