FireDAC.Stan.Option.TFDTxOptions.AutoStart

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

property AutoStart: Boolean read FAutoStart write SetAutoStart default True;

C++

__property bool AutoStart = {read=FAutoStart, write=SetAutoStart, default=1};

Properties

Type Visibility Source Unit Parent
property published
FireDAC.Stan.Option.pas
FireDAC.Stan.Option.hpp
FireDAC.Stan.Option TFDTxOptions

Description

Controls the automatic start of a transaction.

Use the AutoStart property to control the automatic start of a transaction, if DBMS does not support automatic transaction management, like InterBase or Firebird. The default value is True

If AutoStart is True, then the transaction will be automatically started. If there are no active transactions, DBMS itself cannot automatically initiate a transaction, but the transaction is required to perform an SQL command.

See Also