How to dynamically modify NHibernate load queries at runtime? EventListeners? Interceptors?
- by snicker
I need to modify the query used to load many-to-one references in my model.
Specifically, I need to be able to further filter this data. Unfortunately, NH will not allow me to filter many-to-one relationships using the built in filtering system (?). I could just be doing something incorrect.
Is there a hook where I can manually and dynamically…