API:Data.DBXCommon.TDBXMemoryConnectionFactory

Delphi
TDBXMemoryConnectionFactory = class(TDBXConnectionFactory)
C++
class PASCALIMPLEMENTATION TDBXMemoryConnectionFactory : public TDBXConnectionFactory
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
class | public | Data.DBXCommon.pas Data.DBXCommon.hpp |
Data.DBXCommon | Data.DBXCommon |
Description
Abstract base class used for creating new instances of TDBXConnection
Data.DBXCommon.TDBXMemoryConnectionFactory inherits from Data.DBXCommon.TDBXConnectionFactory. All content below this line refers to Data.DBXCommon.TDBXConnectionFactory.
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.