Can anyone tell me if it's possible to add criteria to an NHibernate lazy loaded collection.
For example let's say I have a department that contains employees... I get the department by id and then I lazy load the employees... however lets say there are 1000's of employees and I only want the employees that were hired in the last 30 days.
GetDeptById(1)
|
--Lazy load employees (where HireDate >= 7/1/2009)
Seems like I could possibly do this with filters in the mapping file... but can I add some sort of criteria to the lazy load in code?