Override lazy loading behavior 'lazy=false'
问题 I would like to override the default lazy loading behavior which is set in mappings as 'lazy=false'. Can't change it as many parts of existing application depend on this setting. After spent some hours on it I didn't find a solution so I'm asking here. How to do this? What I want to achieve is to fine tune my query to load only what is needed. This is what I've tried already: Using QueryOver api: var properties = session.QueryOver<Property>() .Fetch(prop => prop.Transactions).Eager .Fetch