Unit 'SQLDB' Package
[Overview][Constants][Types][Classes][Procedures and functions][Variables][Index] [#fcl]

TConnectionDef

[Properties (by Name)] [Methods (by Name)] [Events (by Name)]

Connection type definition class.

Declaration

Source position: sqldb.pp line 832

type TConnectionDef = class(TPersistent)

  class function TypeName; virtual;

  

Name of the connection type.

  class function ConnectionClass; virtual;

  

Class to instantiate when this connection is requested.

  class function Description; virtual;

  

A descriptive text for this connection type.

  class function DefaultLibraryName; virtual;

  

Default library name.

  class function LoadFunction; virtual;

  

Return a function to call when the client library must be loaded.

  class function UnLoadFunction; virtual;

  

Return a function to call when the client library must be unloaded.

  class function LoadedLibraryName; virtual;

  

Currently loaded library.

  procedure ApplyParams(); virtual;

  

Apply parameters to an instance of TSQLConnection.

end;

Inheritance

TConnectionDef

  

Connection type definition class.

|

TPersistent

|

TObject,IFPObserved

Description

TConnectionDef is an abstract class. When registering a new connection type for use in the universal connector, a descendent of this class must be made and registered using RegisterConnection. A descendent class should override at least the TConnectionDef.TypeName and TConnectionDef.ConnectionClass methods to return the specific name and connection class to use.

See also

TConnectionDef.TypeName

  

Name of the connection type.

TConnectionDef.ConnectionClass

  

Class to instantiate when this connection is requested.

RegisterConnection

  

Register a new connection type for use in the universal connector.


Documentation generated on: Dec 26 2024