I don't think this is right.
Why not
>
> If(....)
> condition = Restrictions.Eq("Prop", ...);
>
> If(...)
> condition = other..
>
How can it set both these first two conditions. So in my example below,
options.Option1 and options.Option2 are both true.
>
> If(..)
> Query.Add(....Or(..., condition));
>
> Sory for the ... But im on the phone
>
>
--
You received this message because you are subscribed to the Google Groups
"nhusers" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/nhusers?hl=en.