GetCreateIndexSql() public method

public GetCreateIndexSql ( string indexName, string table ) : string
indexName string
table string
return string
示例#1
0
        public virtual void AddIndex(string indexName, string tableName, params string[] columnNames)
        {
            string sql = Dialect.GetCreateIndexSql(indexName, tableName, columnNames);

            Database.ExecuteSql(sql);
        }