Public Member Functions | |
PROUD_API | CAdoConnection (ADODB::_Connection *conn) |
PROUD_API void | OpenEx (const PNTCHAR *pszConnStr, const PNTCHAR *AppName) |
void | Open (const PNTCHAR *pszConnStr) |
PROUD_API void | OpenEx (const PNTCHAR *pszConnStr, const PNTCHAR *AppName, DbmsType Type) |
void | Open (const PNTCHAR *pszConnStr, DbmsType Type) |
PROUD_API void | Close () |
PROUD_API void | Close_NoThrow () |
PROUD_API bool | IsOpened () |
PROUD_API long | Execute (const PNTCHAR *lpszSQL) |
PROUD_API long | Execute (CAdoRecordset &outputRecords, const PNTCHAR *lpszSQL) |
void | BeginTrans () |
void | RollbackTrans () |
void | CommitTrans () |
Additional Inherited Members |
DMBS link object of ADO Wrapper API
|
inline |
DB transaction begins
PROUD_API void Proud::CAdoConnection::Close | ( | ) |
ADODB will be closed.
PROUD_API void Proud::CAdoConnection::Close_NoThrow | ( | ) |
ADODB will be closed.
|
inline |
DB transaction commit
PROUD_API long Proud::CAdoConnection::Execute | ( | const PNTCHAR * | lpszSQL | ) |
Executes SQL syntax. Can use as printf(). SQL syntax
PROUD_API long Proud::CAdoConnection::Execute | ( | CAdoRecordset & | outputRecords, |
const PNTCHAR * | lpszSQL | ||
) |
Executes SQL syntax. The result gets stored at outputRecords.
outRecordset | Recordset of results to get. SQL syntax |
PROUD_API bool Proud::CAdoConnection::IsOpened | ( | ) |
Is ADO object connected to DB server?
|
inline |
This method connects to DB. Refer to OpenEx guideline for more details.
pszConnStr | DB Connection String |
|
inline |
This method connects to DB. Refer to OpenEx guideline for more details.
pszConnStr | DB Connection String |
PROUD_API void Proud::CAdoConnection::OpenEx | ( | const PNTCHAR * | pszConnStr, |
const PNTCHAR * | AppName | ||
) |
This method connects to DB. It has a function that expanse ADODB.Connection.
pszConnStr | DBMS link string
|
AppName | Name being displayed on SQL Server Enterprise Manager. This method helps detecting dead-lock when adding a name that points to a specific routine to the name of connection. If you don't insert this method, this will be ignores. |
PROUD_API void Proud::CAdoConnection::OpenEx | ( | const PNTCHAR * | pszConnStr, |
const PNTCHAR * | AppName, | ||
DbmsType | Type | ||
) |
TODO:translate needed. This method connects to DB. It has a function that expans ADODB.Connection.
pszConnStr | DBMS link string
|
AppName | Name being displayed on SQL Server Enterprise Manager. This method helps detecting dead-lock when adding a name that points to a specific routine to the name of connection. It ignores if you don't insert this method. |
Type | This inserts enum value of DbmsType such as for Sql,MySql and etc.(MsSql internally uses sqloledb Provider.) |
|
inline |
DB transaction rollback