FireDAC.Comp.Client.TFDCustomManager.ConnectionDefFileAutoLoad

From RAD Studio API Documentation
Jump to: navigation, search

[–] Properties
Type: property
Visibility: public
Source:
FireDAC.Comp.Client.pas
FireDAC.Comp.Client.hpp
Unit: FireDAC.Comp.Client
Parent: TFDCustomManager

Delphi

property ConnectionDefFileAutoLoad: Boolean read GetConnectionDefAutoLoad

C++

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

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