Skip to content

Commit f8a80b2

Browse files
committed
SqlMethods.cs: Correct exception message.
1 parent 9be7d06 commit f8a80b2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/NHibernate/Linq/SqlMethods.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ public static bool Like(this string matchExpression, string sqlLikePattern)
2727
public static bool Like(this string matchExpression, string sqlLikePattern, char escapeCharacter)
2828
{
2929
throw new NotSupportedException(
30-
"The NHibernate.Linq.SqlMethods.Like(string, string) method can only be used in Linq2NHibernate expressions.");
30+
"The NHibernate.Linq.SqlMethods.Like(string, string, char) method can only be used in Linq2NHibernate expressions.");
3131
}
3232
}
3333
}

0 commit comments

Comments
 (0)