Joined: Mon Apr 21, 2008 4:20 pm Posts: 2 Location: Marlborough, MA
|
Hibernate version:1.2.0
I see that the Java version of Hibernate has a "Ne" (Not Equal) Criteria, is there an equivalent in the .NET 2.0 version of NHibernate? I tried doing something like:
NHibernate.Expression.Expression.Not(NHibernate.Expression.Expression.Eq("propertyName", "value"));
But it doesn't seem to work. I see through use of the reflector that there is a "NHibernate.Expression.Expression.NeExpression" but no "NHibernate.Expression.Expression.Ne".. Is this something planned for a future release or is there a viable workable solution that I can use?
Please advise..
|
|