API Reference > OdDb Classes > OdDbDatabase Class > OdDbDatabase Methods > OdDbDatabase::abortTransaction Method
OdDbDatabase::abortTransaction Method
Syntax
C++
virtual void abortTransaction();

Aborts the current transaction associated with this database object.

This function initiates an immediate rollback of all changes to objects since the start of the current transaction. This rollback occurs for all transaction-resident objects.

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