Skip to content

Commit 47e3e61

Browse files
committed
MsSql2000Dialect.cs: Add support for the power() function. NH-3553.
1 parent 19c216e commit 47e3e61

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/NHibernate/Dialect/MsSql2000Dialect.cs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -110,6 +110,8 @@ protected virtual void RegisterFunctions()
110110
RegisterFunction("floor", new StandardSQLFunction("floor"));
111111
RegisterFunction("round", new StandardSQLFunction("round"));
112112

113+
RegisterFunction("power", new StandardSQLFunction("power", NHibernateUtil.Double));
114+
113115
RegisterFunction("acos", new StandardSQLFunction("acos", NHibernateUtil.Double));
114116
RegisterFunction("asin", new StandardSQLFunction("asin", NHibernateUtil.Double));
115117
RegisterFunction("atan", new StandardSQLFunction("atan", NHibernateUtil.Double));

0 commit comments

Comments
 (0)