DataContext class header file.
DataContext(Config &config, rad::DbAdapter &db_adapter)
This constructor uses the application configuration to initialize the adapter object to the in-memory...
void UpdateDb()
Try to connect to the DB and update the application configuration.
DbInterface & GetDbInterface()
void ReloadConfig()
Reload the configuration from file and reconnect to the in-memory DB.