Noob question: How to make a criteria on the count of an association?
- by André Pena
I'm starting with NHibernate.
I have a type called Person which has a collection of Address.
How do I fetch:
All people with at least 2 addresses
using ICriteria? Thanks in advance.