Am I doing something wrong with Nhibernate Query Over fetch?
问题 I have this using (ITransaction transaction = session.BeginTransaction()) { Task tAlias = null; CompletedTask cAlias = null; List<Task> tasks = session.QueryOver<Task>(() => tAlias) .Where(Restrictions.In(Projections.Property(() => tAlias.Course.Id), courseIds)) .Fetch(pt => pt.PersonalTaskReminders).Eager .List<Task>().ToList().ConvertToLocalTime(student); transaction.Commit(); return tasks; } PersonalTaskReminders == Collection So a task can have many personalTaskReminders. I am finding