Skip to content

Commit 8ffc16c

Browse files
committed
NH-4043 - Union keywords in array instead of lots of adds.
1 parent 1e58997 commit 8ffc16c

File tree

4 files changed

+813
-781
lines changed

4 files changed

+813
-781
lines changed

src/NHibernate/Dialect/Dialect.cs

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2246,6 +2246,11 @@ protected void RegisterKeyword(string word)
22462246
Keywords.Add(word);
22472247
}
22482248

2249+
protected void RegisterKeywords(params string[] keywords)
2250+
{
2251+
Keywords.UnionWith(keywords);
2252+
}
2253+
22492254
protected void RegisterFunction(string name, ISQLFunction function)
22502255
{
22512256
_sqlFunctions[name] = function;

0 commit comments

Comments
 (0)