Data.SqlExpr.TSQLConnection.HasTransaction

From RAD Studio API Documentation
Jump to: navigation, search

[–] Properties
Type: function
Visibility: public
Source:
Data.SqlExpr.pas
Data.SqlExpr.hpp
Unit: Data.SqlExpr
Parent: TSQLConnection

Delphi

function  HasTransaction(Transaction:  TDBXTransaction): Boolean;

C++

bool __fastcall HasTransaction(Data::Dbxcommon::TDBXTransaction* Transaction);

Description

Returns whether the SQL connection has the specified transaction in the database.

The HasTransaction method returns True if the SQL connection has the given Transaction in the associated database, False otherwise.

See Also