Hi there,

here is my domain objects:

class Order {
    Guid Id { ... }
    ...
}

class Customer {
    Guid Id { ... }
    IList<Order> Orders { ... }
}

The scenario I'm dealing with right now is the following:

ISession s = ...;
var orders = s.Query<Order>().Where(o => ...);

so, I have some orders.
Here comes the question: how can I select all the Customer with
Customer.Orders containing at least one of the selected orders?

Thanks in advance and have a nice day,
Giulio

--

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