A generic database. More...
#include <Database.h>
Public Member Functions | |
ODBCDatabase () | |
constructor More... | |
virtual void | Connect ()=0 |
connect to the database server More... | |
virtual void | Disconnect ()=0 |
disconnect from the database server More... | |
virtual void | Create ()=0 |
create the database, fail if exists More... | |
virtual bool | Exists ()=0 |
returns true if database exists More... | |
virtual void | Drop ()=0 |
drop the database More... | |
virtual void | CreateIfNotExists () |
create the database if it doesn't exist More... | |
virtual void | DropIfExists () |
drop the database if it exists More... | |
virtual | ~ODBCDatabase () |
destructor More... | |
A generic database.
ODBCDatabase::ODBCDatabase | ( | ) |
constructor
|
virtual |
destructor
|
pure virtual |
connect to the database server
Implemented in AppSecInc::Databases::MSSQL::MSSQLDatabase, and AppSecInc::Databases::Access::AccessDatabase.
|
pure virtual |
create the database, fail if exists
Implemented in AppSecInc::Databases::MSSQL::MSSQLDatabase, and AppSecInc::Databases::Access::AccessDatabase.
|
virtual |
create the database if it doesn't exist
Reimplemented in AppSecInc::Databases::MSSQL::MSSQLDatabase.
|
pure virtual |
disconnect from the database server
Implemented in AppSecInc::Databases::MSSQL::MSSQLDatabase, and AppSecInc::Databases::Access::AccessDatabase.
|
pure virtual |
drop the database
Implemented in AppSecInc::Databases::MSSQL::MSSQLDatabase, and AppSecInc::Databases::Access::AccessDatabase.
|
virtual |
drop the database if it exists
Reimplemented in AppSecInc::Databases::MSSQL::MSSQLDatabase.
|
pure virtual |
returns true if database exists
Implemented in AppSecInc::Databases::MSSQL::MSSQLDatabase, and AppSecInc::Databases::Access::AccessDatabase.
© Application Security Inc. - All Rights Reserved | http://msiext.codeplex.com |