API Reference > Classes > Base Classes > OdBmObjectId Class > OdBmObjectId Methods > OdBmObjectId::database Method
OdBmObjectId::database Method
Syntax
C++
OdDbBaseDatabase* database() const;

Returns the *database* with which this ElementId object is associated.

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

Copyright (c) 2002-2021. Open Design Alliance. All rights reserved.