DBBaseContext :: asObjectSpaceContext - Get object space context
The function returns the object space context, when the current context is an ObjectSpaceContext instance. Otherwise, the function throws an exception.
Return value: Object space context ( odaba::ObjectSpaceContext & )
Object space context usually refers to an instance of an application defined object space context class for the current object space. When no Object space context has been defined in the application, the context refers to the default database context class.