Provider class used to create database specific factory. More...
#include <DatabaseProvider.h>
Public Types | |
| enum | PROVIDER_TYPE { None = 0, DB2 = 1, Oracle = 2, Fox = 3, Informix = 4, SqlServer = 5, Postgres = 6 } |
Static Public Member Functions | |
| static DatabaseProviderFactory * | GetFactory (const PROVIDER_TYPE &provider) |
| Creates specific factory. More... | |
| static DatabaseProviderFactory * | GetFactory (const string &provider) |
| Overload to factory creation. More... | |
| static PROVIDER_TYPE | Parse (const string &providerName) |
| Convert the given provider name to PROVIDER_TYPE representation. More... | |
| static string | ToString (PROVIDER_TYPE providerType) |
| Convert PROVIDER_TYPE value into a string representation. More... | |
Provider class used to create database specific factory.
|
static |
Creates specific factory.
| provider | The provider. |
|
static |
Overload to factory creation.
| provider | The provider. |
|
static |
Convert the given provider name to PROVIDER_TYPE representation.
| providerName | Name of the provider as string. |
|
static |
Convert PROVIDER_TYPE value into a string representation.
| providerType | Type of the provider. |