Is there a way to set the fetchmode to eager for more than one object using linq for nhibernate. There seems to be an expand method which only allows me to set one object. H
just use it more then once.
IList GetDataFromDatabase() { var query = session.Linq(); query.Expand("Property1"); query.Expand("Property2"); return query.ToList(); }