NHibernate equivalent of Entity Framework “Future Queries”
问题 There is an extension to Entity Framework called Future Queries that allows queries to be batched up and processed at the same time. For example, from their docs: // build up queries var q1 = db.Users .Where(t => t.EmailAddress == "one@test.com") .Future(); var q2 = db.Tasks .Where(t => t.Summary == "Test") .Future(); // this triggers the loading of all the future queries var users = q1.ToList(); Is there any equivalent in NHibernate, or an extension that might give this type of functionality