Example #1
0
        public void CreateIndex(string indexName, params string[] columnNames)
        {
            if (_dialect.PrefixIndex)
            {
                indexName = _tablePrefix + indexName;
            }

            var command = new AddIndexCommand(Name, _dialect.FormatIndexName(indexName), columnNames);

            TableCommands.Add(command);
        }