NHibernate QueryOver projection on many-to-one
I am trying to get a QueryOver working using a Projection on a many-to-one . The class "Post" has a property many-to-one "Creator". Using session.QueryOver(Of Post). Select(Projections. Property(of Post)(Function(x) x.Creator). WithAlias(Function() postAlias.Creator)). TransformUsing(Transformers.AliasToBean(Of Post)()). List() works BUT each creator is retrieved by a single query rather than using a join like it is done when not using a select/projection. So if there are 5 posts with 5 different creators, 6 queries will be run 1 for the list of posts and 5 for the creators. I tried to get it