Data.SqlExpr.TSQLConnection.Commit

From RAD Studio API Documentation
Jump to: navigation, search

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

Delphi

procedure Commit( TransDesc: TTransactionDesc); deprecated;

C++

void __fastcall Commit _DEPRECATED_ATTRIBUTE0 (const TTransactionDesc &TransDesc);

Description

Attention: Commit is deprecated.

Commits an open transaction.

Call Commit to save any changes made during the transaction described by TransDesc and to end that transaction.

TransDesc is the transaction descriptor supplied to the StartTransaction method when starting the transaction.

If the specified transaction is the only current transaction, Commit sets the InTransaction property to false after committing the transaction.

Note: This method has been deprecated.

See Also