"where statuses.Contains(s.Id)" thats the way.

2010/11/15 MisterY <[email protected]>

> Hi all,
>
> Is it possible to have a "where ... in ..." query using Linq to
> NHibernate? Something along the line of
>
>
>            var query = from s in Session.QueryOver<Status>()
>                        where s.Id in statuses
>                        select s;
>
> Or "where statuses.contains(s.Id)". Maybe there is a workaround of
> sorts?
>
> Cheers,
>
> Alen
>
> --
> 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]<nhusers%[email protected]>
> .
> For more options, visit this group at
> http://groups.google.com/group/nhusers?hl=en.
>
>

-- 
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.

Reply via email to