FireDAC.Comp.Client.TFDCustomManager.ConnectionDefFileAutoLoad

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

property ConnectionDefFileAutoLoad: Boolean read GetConnectionDefAutoLoad

C++

__property bool ConnectionDefFileAutoLoad = {read=GetConnectionDefAutoLoad, write=SetConnectionDefAutoLoad, default=1};

Properties

Type Visibility Source Unit Parent
property public
FireDAC.Comp.Client.pas
FireDAC.Comp.Client.hpp
FireDAC.Comp.Client TFDCustomManager

Description

Controls how the connection definition file must be loaded.

The ConnectionDefFileAutoLoad property controls whether a connection definition file should be loaded automatically or explicitly by the programmer. If True, FireDAC loads immediately the file to the content of the ConnectionDefs list. 

If False, the programmer should call the ConnectionDefs.Load method before operating any changes to the ConnectionDefs list, including:

Otherwise, an exception is raised.

See Also