DBBaseContext :: asDatabaseContext - Get database context
The function returns the database context, when the current context is a DatabaseContext instance. Otherwise, the function throws an exception.
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.