The linq provider in Nhibernate 3 gives me the ability to specify eager fetching of multiple levels for collections using FetchMany, ThenFetchMany etc. Is there an equivalent way of doinf this using QueryOver.
Say I have a structure
class A
{
IList<B> b;
}
class B
{
IList<C> c;
}
class C
{
}
I can eager load the whole tree in NH Linq
session.Query<A>
.FetchMany(x=> a.b)
.ThenFetchMany(y => y.c)
.ToList();
Is there a way of doing this using the QueryOver api?