Data.DBXCommon.TDBXConnectionFactory

[–] Properties | |
---|---|
Type: class | |
Visibility: public | |
Source: Data.DBXCommon.pas Data.DBXCommon.hpp
| |
Unit: Data.DBXCommon | |
Parent: Data.DBXCommon |
Delphi
TDBXConnectionFactory = class
C++
class PASCALIMPLEMENTATION TDBXConnectionFactory : public System::TObject
Description
Abstract base class used for creating new instances of TDBXConnection
This abstract base class can be used for creating new instances of TDBXConnection.
TDBXConnection.GetConnectionFactory is a class static method that returns a TDBXConnectionFactory singleton. This singleton instance defaults to the TDBXIniFileConnectionFactory class. The dbxconnections.ini and dbxdrivers.ini files are loaded from the file names specified under the HKEY_CURRENT_USER\TDBXRegistryKey windows registry setting. If this registry key is not set, the ini files are loaded from the location of the application's executable.
A TDBXConnectionFactory manages a collection of named driver and connection property sets. A separate TDBXProperties object is used for each driver and connection property set. The driver properties contain enough information to load and instantiate a driver implementation. The connection properties include driver properties and contain enough information to instantiate a connection.