There's another thread covering that problem. And there Fabio posted the solution for criterias:
http://groups.google.com/group/nhusers/msg/a688fb5ca7d55950 from Person p join p.Pets pet where pet.class = Dog would be s.CreateCriteria(typeof(Person), "p") .CreateCriteria("p.Pets", "pet") .Add(Property.ForName("pet.class").Eq(typeof(Dog) .List(); -- Wolfgang --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
