OpenPetra
Free Administration Software for Non-Profits
|
Contains some Constants and a Global Variable for use with Database Access. More...
Static Public Member Functions | |
static TDataBase | Connect (string AConnectionName, TDataBase ADataBase=null) |
Creates a new TDataBase instance and opens a DB Connection on it. More... | |
static void | WriteTransaction (ref TDBTransaction ATransaction, ref bool ASubmitOK, Action AEncapsulatedDBAccessCode) |
this is a direct way to create a serializable transaction on an anonymous database connection More... | |
static void | ReadTransaction (ref TDBTransaction ATransaction, Action AEncapsulatedDBAccessCode) |
this is a direct way to create a read transaction on an anonymous database connection More... | |
Static Public Attributes | |
const Int32 | DB_DEBUGLEVEL_DETAILED_CONN_INFO = 2 |
DebugLevel for logging of detailed DB Establishing/DB Disconnection information. More... | |
const Int32 | DB_DEBUGLEVEL_QUERY = 3 |
DebugLevel for logging the SQL code from DB queries. More... | |
const Int32 | DB_DEBUGLEVEL_TRANSACTION = 2 |
DebugLevel for logging information about DB Transactions. More... | |
const Int32 | DB_DEBUGLEVEL_TRANSACTION_DETAIL = 10 |
DebugLevel for logging information about DB Transactions. More... | |
const Int32 | DB_DEBUGLEVEL_RESULT = 6 |
DebugLevel for logging results from DB queries: is 6 (was 4 before). More... | |
const Int32 | DB_DEBUGLEVEL_TRACE = 10 |
DebugLevel for tracing (very verbose log output): is 10 (was 4 before). More... | |
const Int32 | DB_DEBUGLEVEL_COORDINATED_DBACCESS_STACKTRACES = 11 |
DebugLevel for dumping stacktraces when Thread-safe access to the TDataBase Class is requested/released (extremely verbose log output): is 11 More... | |
Properties | |
static TDBType | DBType [get] |
Returns the type of the RDBMS that is defined in the config file More... | |
Contains some Constants and a Global Variable for use with Database Access.
|
inlinestatic |
|
inlinestatic |
this is a direct way to create a read transaction on an anonymous database connection
|
inlinestatic |
this is a direct way to create a serializable transaction on an anonymous database connection
|
static |
DebugLevel for dumping stacktraces when Thread-safe access to the TDataBase Class is requested/released (extremely verbose log output): is 11
|
static |
DebugLevel for logging of detailed DB Establishing/DB Disconnection information.
|
static |
DebugLevel for logging the SQL code from DB queries.
|
static |
DebugLevel for logging results from DB queries: is 6 (was 4 before).
|
static |
DebugLevel for tracing (very verbose log output): is 10 (was 4 before).
|
static |
DebugLevel for logging information about DB Transactions.
|
static |
DebugLevel for logging information about DB Transactions.
|
staticget |
Returns the type of the RDBMS that is defined in the config file