API Reference > OdDg Classes > OdDgDatabase Class > OdDgDatabase Methods > OdDgDatabase::abortTransaction Method
OdDgDatabase::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.