I'm using QueryOver and eagerly loading a filtered collection, similar to the following:
Part partAlias=null;
Session.QueryOver<Car>().JoinQueryOver(x=>x.Parts,()=>partAlias)
.WhereRestrictionOn(()=>partAlias.Id).IsIn(partIds)
.List<Car>();
The problem is that when I reference the resulting collection (.Parts) it gets fetched from the database and overwrites what I had before. I'm using Fluent Nhibernate for config.