API:FireDAC.Comp.Client.TFDManager.ConnectionDefFileAutoLoad

From RAD Studio API Documentation
Jump to: navigation, search

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

Delphi

property ConnectionDefFileAutoLoad;

C++

__property ConnectionDefFileAutoLoad = {default=1};

Description

Controls how the connection definition file must be loaded.

FireDAC.Comp.Client.TFDManager.ConnectionDefFileAutoLoad inherits from FireDAC.Comp.Client.TFDCustomManager.ConnectionDefFileAutoLoad. All content below this line refers to FireDAC.Comp.Client.TFDCustomManager.ConnectionDefFileAutoLoad.

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