예제 #1
0
        public virtual void GetSchema()
        {
            using (HsqlConnection testSubject = new HsqlConnection())
            {
                DataTable dataTable = testSubject.GetSchema();

                Console.WriteLine("Table Name: " + dataTable.TableName);
                Console.WriteLine("-----------------------------------");


                foreach (DataRow row in dataTable.Rows)
                {
                    foreach (DataColumn column in dataTable.Columns)
                    {
                        Console.WriteLine(column.Caption + ": " + row[column]);
                    }
                }

                //testSubject.GetSchema("");

                //testSubject.GetSchema("",new string[]);
            }
        }