API Reference > OdDb Classes > OdDbLongTransaction Class > OdDbLongTransaction Methods > OdDbLongTransaction::type Method
OdDbLongTransaction::type Method
Syntax
C++
int type() const;

Returns the type of the pending long transaction:

type will return one of the following 

 

Name 
Value 
Description 
kSameDb 
Entities are checked out from a normal block or layout in the current database. 
kXrefDb 
Entities are checked out from ModelSpace or an Xref dependent block in an Xref database. 
kUnrelatedDb 
Entities are checked out from ModelSpace or a block in an unrelated database. 
Copyright © 2002–2020. Open Design Alliance. All rights reserved.