Sign in Join
FPDoc Onlineexperiment

TConnectionDef class

In unit SQLDB

Connection type definition class.

Declaration

pascal
TConnectionDef = class(TPersistent)

Inheritance

  1. TConnectionDef
  2. TPersistent
  3. TObject

Descends from it: TIBConnectionDef TMSSQLConnectionDef

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 TypeName and ConnectionClass methods to return the specific name and connection class to use.

See also

Methods

TypeNameName of the connection type.
ConnectionClassClass to instantiate when this connection is requested.
DescriptionA descriptive text for this connection type.
DefaultLibraryNameDefault library name.
LoadFunctionReturn a function to call when the client library must be loaded.
UnLoadFunctionReturn a function to call when the client library must be unloaded.
LoadedLibraryNameCurrently loaded library.
ApplyParamsApply parameters to an instance of TSQLConnection.

Inherited

From TPersistent (9)

Assign AssignTo DefineProperties Destroy FPOAttachObserver FPODetachObserver FPONotifyObservers GetNamePath GetOwner

From TObject (41)

AfterConstruction BeforeDestruction CheckDisposed ClassInfo ClassName ClassNameIs ClassParent ClassType CleanupInstance Create DefaultHandler DefaultHandlerStr Dispatch DispatchStr Disposed DisposeOf Equals FieldAddress Free FreeInstance GetDisposed GetHashCode GetInterface GetInterfaceByStr GetInterfaceEntry GetInterfaceEntryByStr GetInterfaceTable GetInterfaceWeak GetLastCastErrorInfo InheritsFrom InitInstance InstanceSize MethodAddress MethodName newinstance QualifiedClassName SafeCallException StringMessageTable SystemHasExtendedRTTI ToString UnitName

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