public override MySqlSchemaCollection GetColumns(string[] restrictions)
 {
   string[] keys = new string[4];
   keys[0] = "TABLE_CATALOG";
   keys[1] = "TABLE_SCHEMA";
   keys[2] = "TABLE_NAME";
   keys[3] = "COLUMN_NAME";
   MySqlSchemaCollection dt = Query("COLUMNS", null, keys, restrictions);
   dt.RemoveColumn("CHARACTER_OCTET_LENGTH");
   dt.Name = "Columns";
   QuoteDefaultValues(dt);
   return dt;
 }
Esempio n. 2
0
        public override MySqlSchemaCollection GetColumns(string[] restrictions)
        {
            MySqlSchemaCollection mySqlSchemaCollection = this.Query("COLUMNS", null, new string[]
            {
                "TABLE_CATALOG",
                "TABLE_SCHEMA",
                "TABLE_NAME",
                "COLUMN_NAME"
            }, restrictions);

            mySqlSchemaCollection.RemoveColumn("CHARACTER_OCTET_LENGTH");
            mySqlSchemaCollection.Name = "Columns";
            base.QuoteDefaultValues(mySqlSchemaCollection);
            return(mySqlSchemaCollection);
        }