RE: [nhusers] NotIn

2010-01-11 Thread Roger Kratz
Use Expression.Not() (or Restrictions.Not()) around your Expression.In. /Roger -Original Message- From: nhusers@googlegroups.com [mailto:nhus...@googlegroups.com] On Behalf Of Waqar Sadiq Sent: den 11 januari 2010 16:04 To: nhusers Subject: [nhusers] NotIn Hello, I am looking for an

[nhusers] NotIn

2010-01-11 Thread Waqar Sadiq
Hello, I am looking for an equivalent of SQL "not in" in the criteria API but did not see any. I am trying to do opposite of Expression.In. In this case, I have a set of values of a property that I would like to exclude from a query. Can naybody provide some guidance. thanks. Waqar -- You re