FireDAC.Comp.Client.FDManager
Delphi
function FDManager: TFDCustomManager;
C++
extern DELPHI_PACKAGE TFDCustomManager* __fastcall FDManager(void);
Contents
Properties
| Type | Visibility | Source | Unit | Parent | 
|---|---|---|---|---|
| function | public | FireDAC.Comp.Client.pas FireDAC.Comp.Client.hpp | FireDAC.Comp.Client | FireDAC.Comp.Client | 
Description
Returns a reference to the global TFDCustomManager object.
The FDManager function returns a reference to the singleton object representing the default instance of TFDCustomManager.
Example
var
  oList: TStringList;
......
  oList := TStringList.Create;
  oList.Add('Server=127.0.0.1');
  oList.Add('Database=addemo');
  FDManager.AddConnectionDef('myconn', 'MySQL', oList);