[Overview][Constants][Types][Classes][Procedures and functions][Variables][Index] |
Register a new connection type for use in the universal connector
Source position: sqldb.pp line 736
procedure RegisterConnection( |
Def: TConnectionDefClass |
); |
Def |
|
The connection type definition to register. |
RegisterConnection must be called with a class pointer to a TConnectionDef descendent to register the connection type described in the TConnectionDef descendent. The connection type is registered with the name as returned by TConnectionDef.TypeName.
The various connection types distributed by Free Pascal automatically call RegisterConnection from the initialization section of their unit, so simply including the unit with a particular connection type is enough to register it.
Connection types registered with this call can be unregistered with UnRegisterConnection.
if Def is Nil, access violations will occur.
|
Connection type definition class |
|
|
Unregister a registered connection type |