Hello,
I make the Criteria add runtime on the server-side.
When I have a filter like (sql) : firstname = 'Jan' and lastname='Van'
In the document I see that we can set this in code like:
oCriteria.Add(Linq.Eq('firstname', 'Jan') and Linq.Eq('lastname', 'Van') );But I must use this kind of code because the filter I get is a list.
oCriteria.Add(Linq.Eq('firstname', 'Jan');
oCriteria.Add(Linq.Eq('lastname', 'Van');
I think that this is a and-operator between the to add's.
But how can I set an or-operator between the two add's?
Regards,
Christophe