company logo

DBBaseContext :: databaseContext - Get database context

The function returns the database context (top context) for the current context. Database and GUI contexts form separate hierarchies, i.e. the project context (top context for GUI applications) is not part of the database context hierarchy.

Return value:  Database context ( odaba::DatabaseContext & )

Database context usually refers to an instance of an application defined database context class. When no database context has been defined in the application, the context refers to the default database context class.

Implementation details

odaba::DatabaseContext & DBBaseContext  :: databaseContext (  )