Data.DBXCommon.TDBXConnection.RollbackFreeAndNil

From RAD Studio API Documentation
Jump to: navigation, search

[–] Properties
Type:
procedure
function
Visibility: public
Source:
Data.DBXCommon.pas
Data.DBXCommon.hpp
Unit: Data.DBXCommon
Parent: TDBXConnection

Delphi

procedure RollbackFreeAndNil(var Transaction: TDBXTransaction); virtual;

C++

virtual void __fastcall RollbackFreeAndNil(TDBXTransaction* &Transaction);

Description

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.

See Also