base for odbc interface class