[Properties (by Name)] [Methods (by Name)] [Events (by Name)]
Connection type definition class.
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; |
|
Connection type definition class. |
|
| | ||
| | ||
TObject,IFPObserved |
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.
|
Name of the connection type. |
|
|
Class to instantiate when this connection is requested. |
|
|
Register a new connection type for use in the universal connector. |