14 std::vector<ODBCParameter> _parameters;
27 void Bind(SQLHSTMT stmt);
const ODBCParameter & operator[](const std::wstring &name) const
get a parameter by name
Definition: Parameters.cpp:21
void AddParameter(const ODBCParameter &p)
add a named parameter
Definition: Parameters.cpp:16
unsigned int GetParameterCount() const
get the number of parameters
Definition: Parameters.h:19
ODBCParameters()
Definition: Parameters.cpp:6
An ODBC column.
Definition: Parameter.h:10
virtual ~ODBCParameters()
Definition: Parameters.cpp:11
An ODBC parameters.
Definition: Parameters.h:10
void Bind(SQLHSTMT stmt)
bind the parameters to a connection
Definition: Parameters.cpp:37