API Reference > OdDg Classes > OdDgElementId Class > OdDgElementId Methods > OdDgElementId::database Method
OdDgElementId::database Method
Syntax
C++
OdDgDatabase* 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–2020. Open Design Alliance. All rights reserved.