I Resolved my Problem. Thanks all

On Monday, July 7, 2014 5:28:35 PM UTC+7, Nguyễn Trung wrote:
>
> Hi All
> i'm new Nhibernate. i get problem when queyry with NhiBernate QueryOver if 
> condition
> Ex; var quey= session.QueryOver<Account>();
>                      .if(code!=string.empty||code!=null)
>                           query.Where(item=>item.Code==code);
>
> So! how i can query with if condition?
>
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"nhusers" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/nhusers.
For more options, visit https://groups.google.com/d/optout.

Reply via email to