From 3156f18c109eaa279ef82a2f5e5e2ae03301a8b9 Mon Sep 17 00:00:00 2001 From: Miguel de Icaza Date: Wed, 12 Jan 2005 19:35:22 +0000 Subject: [PATCH] Contributions from wizito@gentelibre.org svn path=/trunk/gtk-sharp/; revision=38811 --- AUTHORS | 2 + doc/en/Gda/XmlConnection.xml | 54 ++++++++++++++++++---- doc/en/Gda/XmlDatabase.xml | 89 ++++++++++++++++++++++++++++++------ doc/en/Gda/XmlDocument.xml | 36 ++++++++++++--- 4 files changed, 151 insertions(+), 30 deletions(-) diff --git a/AUTHORS b/AUTHORS index 923fc8514..3fd653bc5 100644 --- a/AUTHORS +++ b/AUTHORS @@ -20,3 +20,5 @@ Documentation: fsjrb@uaf.edu joe@fatnsoft.com pixelpapst@users.sourceforge.net + alexmipego@hotmail.com + wizito@gentelibre.org diff --git a/doc/en/Gda/XmlConnection.xml b/doc/en/Gda/XmlConnection.xml index f1c4e42f4..175381cc1 100644 --- a/doc/en/Gda/XmlConnection.xml +++ b/doc/en/Gda/XmlConnection.xml @@ -10,7 +10,11 @@ Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. - To be added + + +Management of connections to XML data sources + + To be added @@ -36,7 +40,11 @@ - To be added + + +Creates a Gda.XmlConnection object from the contents of filename, which must be a correct .connection file. + + a a To be added @@ -52,7 +60,11 @@ - To be added + + +Creates a Gda.XmlConnection object from the given XML string. + + a a To be added @@ -80,7 +92,11 @@ - To be added + + +Loads a XML file into the object. + + a a To be added @@ -96,7 +112,11 @@ - To be added + + +Loads a XML string into the object. + + a a To be added @@ -124,7 +144,11 @@ To be added a - To be added + + +Creates a new GdaXmlConnection object, which lets you parse and/or create .connection files, which are XML files used to specify all parameters needed to open a database connection, and which can be used to store user's connection preferences, or for automatic connection to databases from unattended scripts and such. + + @@ -135,7 +159,11 @@ - To be added + + +Gets / Sets the password for the object. + + a To be added @@ -148,7 +176,11 @@ - To be added + + +Gets / Sets the user name for the object. + + a To be added @@ -161,7 +193,11 @@ - To be added + + +Gets / Sets the data source name for the object. + + a To be added diff --git a/doc/en/Gda/XmlDatabase.xml b/doc/en/Gda/XmlDatabase.xml index f2cd665d3..4ed7b21e1 100644 --- a/doc/en/Gda/XmlDatabase.xml +++ b/doc/en/Gda/XmlDatabase.xml @@ -10,8 +10,19 @@ Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. - To be added - To be added + + +XML database representation (used for import/export and in the default provider). + + + + + The Gda.XmlDatabase class allows programs to manage databases in XML format (the format used by libgda for importing/exporting databases). It contains functions to easily manage those XML files. + + +With this set of functions, applications can bypass the normal libgda operation mode (via Gda.Client to access data sources), and have a direct access to the data in the XML file. + + GLib.Object @@ -63,9 +74,13 @@ - To be added + + +Searches table and returns it. + + a - a + a or null if not found. To be added @@ -77,7 +92,11 @@ - To be added + + +Reloads the object from it's original place, discarding all changes that may have happened. + + To be added @@ -91,7 +110,11 @@ - To be added + + +Saves the object to disk. + + a a To be added @@ -105,7 +128,11 @@ - To be added + + +Emits the Event. + + To be added @@ -129,7 +156,11 @@ - To be added + + +Default Constructor. + + a To be added @@ -192,9 +223,17 @@ - To be added + + +Gets / Sets the uri of the object. + + a - To be added + + +This uri will be used when saving the XML Database. + + @@ -205,7 +244,11 @@ - To be added + + +Gets / Sets the user defined version of the object. + + a To be added @@ -218,9 +261,17 @@ - To be added + + +Gets the version of libGda used to create the object. + + a - To be added + + +This version is the one that was used for saving the XML file last time it was saved. This value can only be "get" as it is an internal information related to the creation of the Gda.XmlDatabase object. To get the user defined database version, use the property instead. + + @@ -231,7 +282,11 @@ - To be added + + +Gets / Sets the name of the object. + + a To be added @@ -244,7 +299,11 @@ - To be added + + +Gets a list of all table names present in the database. + + a To be added diff --git a/doc/en/Gda/XmlDocument.xml b/doc/en/Gda/XmlDocument.xml index e2ba0e69b..4ee0051b7 100644 --- a/doc/en/Gda/XmlDocument.xml +++ b/doc/en/Gda/XmlDocument.xml @@ -10,7 +10,11 @@ Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. - To be added + + +Base class for XML document management. + + To be added @@ -61,10 +65,18 @@ - To be added + + +Saves object to disk file. + + a a - To be added + + +That is, it translates the in-memory document structure, transforms it to XML and saves, in the given file, the resulting XML output. + + @@ -77,7 +89,11 @@ - To be added + + +Constructs a new XmlDocument. + + a To be added @@ -104,7 +120,11 @@ - To be added + + +Creates s new Gda.XmlDocument, with a root document. + + a a To be added @@ -118,7 +138,11 @@ - To be added + + +Gets / Sets the compression mode that object should use. + + a To be added