hi, i'm trying to use the criteria api to find all the records that their value is equal to some string.
in nhibernate v.1 we had the nhibernate.expression.eqExpression to do so. i cant find equivalent in nhibernate v.2.1.2
i've tried to use the nhibernate.criterion / restrication api, but i cant find any method that has the desired behavior. i could use like expression, but it seem odd for me that there is no equal expression in the api.
any ideas?
##edit##
found the answer (more or less...) simpleExpression with op "=" do the work
##edit##
|