Is this the right way of using ThenFetch() to load multiple collections?
问题 I'm trying to load all the collections eagerly, using NHibernate 3 alpha 1. I'm wondering if this the right way of using ThenFetch()? Properties with plural names are collections. The others are just a single object. IQueryable<T> milestoneInstances = Db.Find<T, IQueryable<T>>(db => from mi in db where mi.RunDate == runDate select mi).Fetch(mi => mi.Milestone) .ThenFetch(m => m.PrimaryOwners) .Fetch(mi => mi.Milestone) .ThenFetch(m => m.SecondaryOwners) .Fetch(mi => mi.Milestone) .ThenFetch(m