I got it. It should have been (from comp in session.Query<Company>() select comp).Fetch(c => c.Employees).ToList()
It was not obvious to me because I am used to Entity Framework where it works the other way.
I got it. It should have been (from comp in session.Query<Company>() select comp).Fetch(c => c.Employees).ToList()
It was not obvious to me because I am used to Entity Framework where it works the other way.