AnyDAC
ContentsIndexHome
PreviousUpNext
uADCompClient.ADManager Function

Function returns reference to global TADCustomManager object.

Group
File

uADCompClient

Links

TADCustomManager instance.

The ADManager function returns reference to singleton object, representing default instance of TADCustomManager.

function ADManager: TADCustomManager;
var
  oList: TStringList;
......
  oList := TStringList.Create;
  oList.Add('Server=127.0.0.1');
  oList.Add('Database=addemo');
  ADManager.AddConnectionDef('myconn', 'MySQL', oList);
What do you think about this topic? Send feedback!