public static void BuildChildNodes(ITreeBuilder builder, ConstraintSchema node)
 {
 }
        public override ConstraintSchema[] GetTableConstraints(TableSchema table)
        {
            if (IsOpen == false && Open () == false)
                throw new InvalidOperationException ("Invalid connection");

            ArrayList collection = new ArrayList ();

            using (MySqlCommand command = new MySqlCommand ()) {
                command.Connection = Connection;
                command.CommandText =
                    "";
                MySqlDataReader r = command.ExecuteReader ();

                while (r.Read ()) {
                    ConstraintSchema constraint = new ConstraintSchema ();
                    constraint.Provider = this;

                    // TODO: Implement

                    collection.Add (constraint);
                }

                r.Close ();
            }

            return (ConstraintSchema[]) collection.ToArray (
                typeof (ConstraintSchema));
        }