API Reference > OdDb Classes > OdDbLongTransaction Class
OdDbLongTransaction Class
OdDbLongTransactionOdDbLongTransaction
Syntax
C++
class OdDbLongTransaction : public OdDbObject;

DbLongTransaction.h

This class implements the tracking of long transactions.

This class creates and appends OdcDbLongTransaction objects to the database and and returns the object ID of the OdDbLongTransaction object. Destruction of the OdDbLongTransaction object is handled by the database. 

 

 
Name 
Description 
 
This is OdDbLongTransaction, a member of class OdDbLongTransaction. 
 
Name 
Description 
 
Returns a pointer to the OdDbMapping object used for OdLongTransationReactor callbacks used for checkin/checkout. 
 
Adds the specified object to the current work set.
 
 
Notification function called each time an Undo operation is performed this object is using partial Undo.
 
 
Returns the object ID of the block to which the entities are cloned. 
 
Reads the .dwg file data of this object.
 
 
This is DWGMAP_DECLARE_MEMBERS, a member of class OdDbLongTransaction. 
 
Writes the .dwg file data of this object.
 
 
Returns the long transaction name. 
 
Creates an Iterator object that provides access to the entities in the work set.  
 
Returns the object ID of the block from which the entities are cloned. 
 
Returns the object ID from which the workSetId was cloned.  
 
Removes the specified object from the current work set.
 
 
Called as the first operation as this object is being erased or unerased.
 
 
Synchronizes work set. 
 
type 
Returns the type of the pending long transaction: 
 
Returns true if and only if the specified object ID is in the work set.
 
Copyright © 2002–2020. Open Design Alliance. All rights reserved.