company logo

DBObjectHandle :: IsDatabase - Is object space a database

The property returns, whether the object space is a database or not. The property return true, when the object space is a database and false otherwise. The function should be called before converting an object space into a database.

Database GetDatabase ( ObjectSpace &os ) {

  return os.isDatabase() ? os.asDatabase() : Database();

}

Return value:  Success ( logical  )

Implementation details

logical DBObjectHandle  :: IsDatabase (  )