This seems like it should be a simple query, but I just can't figure
it out.

I want a criterion that represents all People who own at least 1 Ford,
and I want the results to return all Cars those people own.

People { int Id, IList<Car> Cars }
Car { int Id, string make, string model }

I was hoping for an Expression.Contains("Cars", carObject), or even
better yet Expression.Contains("Cars.make", "Ford"), but clearly
neither exist.  Everything I've tried seems to either give me runtime
errors or no results.  Can somebody point me in the right direction?

Thanks,
-Eric.

--

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