|
Public Member Functions |
virtual | ~Connection () |
GdaConnection * | gobj () |
| Provides access to the underlying C GObject.
|
const GdaConnection * | gobj () const |
| Provides access to the underlying C GObject.
|
GdaConnection * | gobj_copy () |
bool | close () |
bool | is_open () |
GdaClient * | get_client () |
void | set_client (GdaClient *client) |
Glib::ustring | get_database () const |
Glib::ustring | get_dsn () const |
Glib::ustring | get_cnc_string () const |
Glib::ustring | get_provider () const |
Glib::ustring | get_username () const |
Glib::ustring | get_password () const |
void | add_error (const Glib::RefPtr< Error > &error) |
void | add_error_list (GList *error_list) |
bool | change_database (const Glib::ustring &name) |
bool | create_database (const Glib::ustring &name) |
bool | drop_database (const Glib::ustring &name) |
GList * | execute_command (GdaCommand *cmd, GdaParameterList *params) |
Glib::RefPtr< DataModel > | execute_single_command (GdaCommand *cmd, GdaParameterList *params) |
int | execute_non_query (GdaCommand *cmd, GdaParameterList *params) |
bool | begin_transaction (const Glib::RefPtr< Transaction > &transaction) |
bool | commit_transaction (const Glib::RefPtr< Transaction > &transaction) |
bool | rollback_transaction (const Glib::RefPtr< Transaction > &transaction) |
bool | supports (GdaConnectionFeature feature) |
Glib::RefPtr< DataModel > | get_schema (GdaConnectionSchema schema, GdaParameterList *params) |
Glib::SignalProxy1< void,
GList * > | signal_error () |
Static Public Member Functions |
Glib::RefPtr< Connection > | create (GdaClient *client, const Glib::RefPtr< ServerProvider > &provider, const Glib::ustring &dsn, const Glib::ustring &username, const Glib::ustring &password) |
Protected Member Functions |
| Connection (GdaClient *client, const Glib::RefPtr< ServerProvider > &provider, const Glib::ustring &dsn, const Glib::ustring &username, const Glib::ustring &password) |
virtual void | on_error (GList *error_list) |
Related Functions |
(Note that these are not member functions.)
|
Glib::RefPtr< Gnome::Gda::Connection > | wrap (GdaConnection *object, bool take_copy=false) |