Example #1
0
 private void UpdateSql()
 {
     using (var indexHandler = new IndexHandler(Settings.Default.CurrentDatabase))
     {
         var index = indexHandler.GetIndex(indexName);
         SqlStatement = index.SqlStatement;
     }
 }
Example #2
0
        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;
            }
        }