RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TDBXConnectionFactory.SetConnectionFactory Method

Change the default TDBXConnectionFactorysingleton

Pascal
class procedure SetConnectionFactory(ConnectionFactory: TDBXConnectionFactory); static;
C++
static __fastcall SetConnectionFactory(TDBXConnectionFactory ConnectionFactory);

This method changes the default TDBXConnectionFactory singleton that is returned by the GetConnectionFactoryclass static method.

Note: This method can be called only once, when an application is initialized.
 

Copyright(C) 2008 CodeGear(TM). All Rights Reserved.
What do you think about this topic? Send feedback!