public virtual IndexSchemaCollection GetTableIndexes(TableSchema table)
        {
            IndexSchemaCollection collection = new IndexSchemaCollection();

            IPooledDbConnection conn = connectionPool.Request();

            try {
                //restrictions: database, schema, table, name
                DataTable dt = conn.GetSchema(indexesCollectionString, null, table.SchemaName, table.Name);
                for (int r = 0; r < dt.Rows.Count; r++)
                {
                    DataRow row = dt.Rows[r];
                    collection.Add(GetTableIndex(row, table));
                }
            } catch (Exception e) {
                QueryService.RaiseException(e);
            }
            conn.Release();

            return(collection);
        }
 public IndexSchemaCollection(IndexSchemaCollection collection)
     : base(collection, true)
 {
 }