BTW, QueryOver is not LINQ.
Diego
On Mon, Nov 15, 2010 at 23:24, José F. Romaniello <[email protected]>wrote:
> "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]<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.