if you do, you can do something like this:

var subQuery = QueryOver.Of<MailingList>()
        .Where(m => m.Id == myMailinglistId)
        .Select(Projections.Id())

var query = Session.QueryOver<Subscriber>().WithSubquery.WhereProperty(x=> 
x.MailList).In(subQuery).Take(100).List();

Something like that.. :)

-- 
You received this message because you are subscribed to the Google Groups 
"nhusers" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/nhusers/-/Yx7VtL0nBqAJ.
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