I am fighting with this query since yesterday morning and cannot find a solution. What I want to do is to have a query like:
IList<Parent> = _session.QueryOver<Parent>()
.Where(Restrictions.lt(x => x.Childs.Count,4))
.List<Parent>();
Anyone having an idea how to do it? Childs is a HasMany-Collection.
Regards, Martin