Skip to content

TSQLConnection.StartTransaction

Start the Transaction associated with this Connection.

Declaration

Source position: sqldb.pp line 299

public 
procedure TSQLConnection.StartTransaction;  override;

Description

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

Connection.Transaction.StartTransaction

Errors

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

See also

Name Description
EndTransaction End the Transaction associated with this connection.