DbCatalog
Object Hierarchy:
Description:
Namespace: Gda
Package: libgda-6.0
Content:
Properties:
- public Connection connection { owned get; set; }
- public string schema_name { owned get; set; }
Static methods:
- public static Quark error_quark ()
- public static bool validate_file_from_path (string xmlfile) throws Error
Convenient method to varify xmlfile before prsing it.
Creation methods:
- public DbCatalog ()
Create new instance of DbCatalog.
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
For detailed description see parse_file_from_path
- 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