Skip to content

TSQLConnection.EndTransaction

End the Transaction associated with this connection.

Declaration

Source position: sqldb.pp line 300

public 
procedure TSQLConnection.EndTransaction;  override;

Description

StartTransaction is a convenience method which ends the default transaction (TSQLConnection.Transaction). It is equivalent to

Connection.Transaction.EndTransaction

Errors

If no transaction is assigned, an exception will be raised.

See also

Name Description
StartTransaction Start the Transaction associated with this Connection.