FireDAC.Comp.Client.FDManager
| [–] Properties | |
|---|---|
| Type: function | |
| Visibility: public | |
| Source: FireDAC.Comp.Client.pas FireDAC.Comp.Client.hpp
| |
| Unit: FireDAC.Comp.Client | |
| Parent: FireDAC.Comp.Client | |
Delphi
function FDManager: TFDCustomManager;
C++
extern DELPHI_PACKAGE TFDCustomManager* __fastcall FDManager(void);
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);