RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TDBXConnection.CommitFreeAndNil Method

Commits work for a transaction

Pascal
procedure CommitFreeAndNil(var Transaction: TDBXTransaction); virtual;
C++
virtual __fastcall CommitFreeAndNil(TDBXTransaction Transaction);

This method commits the work for the specified TDBXTransaction. Any active transactions that were begun after this transaction are freed and effectively committed as well. The variable Transaction instance is set to nil.

Note: This method raises an exception if Transaction
is not an active transaction.  

 

Copyright(C) 2008 CodeGear(TM). All Rights Reserved.
What do you think about this topic? Send feedback!