public bool is_opened ();
public bool open () throws GLib.Error;
public static unowned Gda.Connection open_from_dsn (string dsn, string? auth_string, Gda.ConnectionOptions options) throws GLib.Error;
- public static unowned Gda.Connection open_from_string (string provider_name, string? cnc_string, string? auth_string, Gda.ConnectionOptions options) throws GLib.Error;
+ public static unowned Gda.Connection open_from_string (string provider_name, string? cnc_string, string? auth_string, Gda.ConnectionOptions options) throws ConnectionError, ConfigError;
public unowned Gda.Statement parse_sql_string (string sql, out unowned Gda.Set @params) throws GLib.Error;
public bool perform_operation (Gda.ServerOperation op) throws GLib.Error;
public unowned string quote_sql_identifier (string id);
public Gda.SqlStatement parsed_statement;
}
[CCode (cheader_filename = "libgda/libgda.h", cprefix = "GDA_BATCH_CONFLICTING_PARAMETER_")]
- public enum BatchError {
+ public errordomain BatchError {
ERROR
}
[CCode (cheader_filename = "libgda/libgda.h", cprefix = "GDA_CONFIG_")]
- public enum ConfigError {
+ public errordomain ConfigError {
DSN_NOT_FOUND_ERROR,
PERMISSION_ERROR,
PROVIDER_NOT_FOUND_ERROR,
PROVIDER_CREATION_ERROR
}
[CCode (cheader_filename = "libgda/libgda.h", cprefix = "GDA_CONNECTION_")]
- public enum ConnectionError {
+ public errordomain ConnectionError {
DSN_NOT_FOUND_ERROR,
PROVIDER_NOT_FOUND_ERROR,
PROVIDER_ERROR,