26 #ifndef __TERRALIB_ADO_INTERNAL_CONNECTION_H
27 #define __TERRALIB_ADO_INTERNAL_CONNECTION_H
37 #include <boost/date_time/posix_time/posix_time_types.hpp>
38 #include <boost/noncopyable.hpp>
41 #import "msado15.dll" \
42 no_namespace rename(
"EOF",
"EndOfFile")
84 _RecordsetPtr
query(
const std::string& query,
bool connected =
false);
111 friend class ConnectionPool;
A class that implements a connection to a ADO database.
void execute(const std::string &command)
It executes the given SQL command and throws away the result.
Connection(const std::string &conninfo)
Constructor.
_ConnectionPtr m_conn
The ADO real connection handle.
_RecordsetPtr query(const std::string &query, bool connected=false)
It queries the database.
_ConnectionPtr getConn() const
It gets the ADO Connection object.
#define TEADOEXPORT
You can use this macro in order to export/import classes and functions from this module.
Proxy configuration file for TerraView (see terraview_config.h).