this is programatic, you have as much flexibility as your imagination.
ICriterion x=something;
if(something)
    x=Restrictions.Or(x,anotherRestriction);

if(another)
   x=Restrictions.Or(x,anotherthinghere);

Can I tell what I mean?

Tuna Toksöz
Eternal sunshine of the open source mind.

http://devlicio.us/blogs/tuna_toksoz
http://tunatoksoz.com
http://twitter.com/tehlike




On Mon, Aug 10, 2009 at 9:20 PM, lukefrice <lukefr...@gmail.com> wrote:

> way to combine some of them as OR's, or po

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"nhusers" group.
To post to this group, send email to nhusers@googlegroups.com
To unsubscribe from this group, send email to 
nhusers+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/nhusers?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to