Not all named parameters have been set Nhibernate?
Posted
by user144842
on Stack Overflow
See other posts from Stack Overflow
or by user144842
Published on 2010-04-05T14:14:50Z
Indexed on
2010/04/05
14:33 UTC
Read the original article
Hit count: 561
I got a problem whenever I pass char ":" from the user interface. NHibernate mistakes it as a named parameter and throws an error, since there isn't any value for it.
Exception is :-
Not all named parameters have been set: [%] [SELECT COUNT (*) FROM Test2 t WHERE t.FirstName LIKE ':%' AND t.LocationUID IN (38, 20)]"
© Stack Overflow or respective owner