API Reference > OdDb Classes > OdDbObjectId Class > OdDbObjectId Methods > OdDbObjectId::database Method
OdDbObjectId::database Method
Syntax
C++
OdDbDatabase* database() const;

Returns the database with which this ObjectId object is associated.

Returns NULL if this ObjectId object is not associated with any database.

Copyright © 2002–2021. Open Design Alliance. All rights reserved.