#include <cSQLConfig.h>
◆ cSQLConfigDB()
| GrayLib::cSQLConfigDB::cSQLConfigDB |
( |
| ) |
|
|
inline |
◆ Clear()
| void GrayLib::cSQLConfigDB::Clear |
( |
| ) |
|
|
inline |
◆ get_AutoCommit()
| bool GrayLib::cSQLConfigDB::get_AutoCommit |
( |
| ) |
const |
|
inline |
auto SQL_COMMIT after Execute?
◆ get_DatabaseName()
| cStringA GrayLib::cSQLConfigDB::get_DatabaseName |
( |
| ) |
const |
|
inline |
Get the name of the database driver type. SQL_DBMS_NAME = "Microsoft SQL Server" NOT the same as SQL_DATA_SOURCE_NAME
◆ get_DataSourceName()
| cStringA GrayLib::cSQLConfigDB::get_DataSourceName |
( |
| ) |
const |
|
inline |
Get the name of the windows DSN= entry. SQL_DATA_SOURCE_NAME = m_sDataSourceName Empty if not using DSN (i.e. using ODBC string)
◆ get_SupportsTransactions()
| bool GrayLib::cSQLConfigDB::get_SupportsTransactions |
( |
| ) |
const |
|
inline |
Does it support transactions ? CanTransact() supports ROLLBACK and COMMIT? Multiple statements before using the SQL_COMMIT ?
◆ put_AutoCommit()
| void GrayLib::cSQLConfigDB::put_AutoCommit |
( |
bool |
bAutoCommit | ) |
|
|
inline |
auto SQL_COMMIT after Execute else we need to call EndTransaction(true) manually
◆ m_bAutoCommit
| bool GrayLib::cSQLConfigDB::m_bAutoCommit |
◆ m_bPopulated
| bool GrayLib::cSQLConfigDB::m_bPopulated |
Have we tested the db/connection for capabilities ?
◆ m_bSupportsTransactions
| bool GrayLib::cSQLConfigDB::m_bSupportsTransactions |
◆ m_sDatabaseName
| cStringA GrayLib::cSQLConfigDB::m_sDatabaseName |
SQL_DATABASE_NAME - Database = reset at each m_bIsConnected.
◆ m_sDataSourceName
| cStringA GrayLib::cSQLConfigDB::m_sDataSourceName |
SQL_DATA_SOURCE_NAME - DSN = reset at each m_bIsConnected. parsed from m_ConnectionString.
The documentation for this class was generated from the following file: