Adds ability to extract index details from databases using sql syntax provider.

This commit is contained in:
Shannon
2014-03-12 17:17:52 +11:00
parent ff21379547
commit 3a92c26a7f
6 changed files with 63 additions and 5 deletions

View File

@@ -59,9 +59,12 @@ namespace Umbraco.Core.Persistence.SqlSyntax
bool SupportsClustered();
bool SupportsIdentityInsert();
bool? SupportsCaseInsensitiveQueries(Database db);
IEnumerable<string> GetTablesInSchema(Database db);
IEnumerable<ColumnInfo> GetColumnsInSchema(Database db);
IEnumerable<Tuple<string, string>> GetConstraintsPerTable(Database db);
IEnumerable<Tuple<string, string, string>> GetConstraintsPerColumn(Database db);
IEnumerable<Tuple<string, string, string, bool>> GetDefinedIndexes(Database db);
}
}