|
AnyDAC
|
Indicates whether a connection transaction is in progress or not.
Examine InTransaction at run-time to determine if a connection transaction is currently in progress. InTransaction is True if a transaction is in progress, False otherwise.
The value of InTransaction cannot be changed directly. Calling StartTransaction sets InTransaction to True. Calling Commit or Rollback sets InTransaction to False.
InTransaction is the shortcut for ConnectionIntf.Transaction.Active or Transaction.Active.
property InTransaction: Boolean;
See AnyDAC\Samples\Comp Layer\TADConnection\Transactions sample for details.
|
What do you think about this topic? Send feedback!
|