private void UpdateSql() { using (var indexHandler = new IndexHandler(Settings.Default.CurrentDatabase)) { var index = indexHandler.GetIndex(indexName); SqlStatement = index.SqlStatement; } }
private void Initialize() { using (var indexHandler = new IndexHandler(Settings.Default.CurrentDatabase)) { var index = indexHandler.GetIndex(indexName); TableName = index.Table; isUnique = index.IsUnique; sqlStatement = index.SqlStatement; } }