I have a class hierarchy mapped as table per subclass using the joined-subclass element. Class A is the root, class B, C are derived classes. A has a Children property which is mapped to a table using a many to many idbag. I want to query a particular kind of children WITHOUT joining all tables for the entire hierarchy.
Query<A>().Single(...)..Children.OfType<B>()... I would like to be able to produce an sql which joins A and B only, without touching table C. Is it possible? Thanks, Zsolt -- You received this message because you are subscribed to the Google Groups "nhusers" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/nhusers?hl=en-US. For more options, visit https://groups.google.com/groups/opt_out.
