Data.DBXDelegate.TDBXDelegateConnection.RollbackFreeAndNil
Delphi
procedure RollbackFreeAndNil(var Transaction: TDBXTransaction); override;
C++
virtual void __fastcall RollbackFreeAndNil(Data::Dbxcommon::TDBXTransaction* &Transaction);
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
procedure function |
public | Data.DBXDelegate.pas Data.DBXDelegate.hpp |
Data.DBXDelegate | TDBXDelegateConnection |
Description
Rollbacks the work for a transaction
Data.DBXDelegate.TDBXDelegateConnection.RollbackFreeAndNil inherits from Data.DBXCommon.TDBXConnection.RollbackFreeAndNil. All content below this line refers to Data.DBXCommon.TDBXConnection.RollbackFreeAndNil.
Rollbacks the work for a transaction
This method rollbacks the work for the TDBXTransaction. Any active transactions that were begun after this transaction are freed and effectively rolled back as well. The variable Transaction instance is set to nil.
Note: RollbackFreeAndNil raises an exception if Transaction is not an active transaction.