DbCatalog
Object Hierarchy:
Description:
[ CCode ( type_id = "gda_db_catalog_get_type ()" ) ]
public class DbCatalog : Object
Content:
Properties:
Static methods:
Creation methods:
Methods:
- public void append_table (DbTable table)
This method append table
to the total list of all tables
stored in this.
- public void append_view (DbView view)
This method append view
to the total list of all views
stored in this.
- public unowned DbTable get_table (string catalog, string schema, string name)
Convenient function to get a table based on name
.
- public unowned List<DbTable> get_tables ()
- public unowned DbView get_view (string catalog, string schema, string name)
Convenient function to get a view based on name.
- public unowned List<DbView> get_views ()
- public bool parse_cnc () throws Error
Parse internal cnc to populate this
object.
- public bool parse_file (File xmlfile) throws Error
- public bool parse_file_from_path (string xmlfile) throws Error
This method reads information from xmlfile
and populate
this object.
- public bool perform_operation () throws Error
After population this with all data
this method may be called to trigger code and modify user database.
- public bool write_to_file (File file) throws Error
This method writes database description as xml file.
- public bool write_to_path (string path) throws Error
Save content of this to a user
friendly xml file.
Inherited Members:
All known members inherited from class GLib.Object
- @get
- @new
- @ref
- @set
- add_toggle_ref
- add_weak_pointer
- bind_property
- connect
- constructed
- disconnect
- dispose
- dup_data
- dup_qdata
- force_floating
- freeze_notify
- get_class
- get_data
- get_property
- get_qdata
- get_type
- getv
- interface_find_property
- interface_install_property
- interface_list_properties
- is_floating
- new_valist
- new_with_properties
- newv
- notify
- notify_property
- ref_count
- ref_sink
- remove_toggle_ref
- remove_weak_pointer
- replace_data
- replace_qdata
- set_data
- set_data_full
- set_property
- set_qdata
- set_qdata_full
- set_valist
- setv
- steal_data
- steal_qdata
- thaw_notify
- unref
- watch_closure
- weak_ref
- weak_unref