Sign in Join
FPDoc Onlineexperiment

TConnectionDef.ApplyParams procedure

Member of TConnectionDefIn unit SQLDB

Apply parameters to an instance of TSQLConnection.

Declaration

pascal
procedure ApplyParams(Params: TStrings; AConnection: TSQLConnection)
 ; virtual

Arguments

Params

Parameters to apply in Name=Value form.

AConnection

Connection instance to which to apply the parameters.

Description

ApplyParams must be overridden to apply any params specified in the Params argument to the TSQLConnection descendent in AConnection. It can be used to convert Name=Value pairs to properties of the actual connection instance.

When called, AConnection is guaranteed to be of the same type as returned by ConnectionClass. Params contains the contents of the Params property of the connector.

See also

An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.