NHibernate AliasToBean transformer associations

There is my master piece… which I’m using to transform any level of projections depth. Take it and use it like this: .SetResultTransformer(new DeepTransformer<MyEntity>()) It could be used for any ValueType properties, many-to-one references and also for dynamic objects… public class DeepTransformer<TEntity> : IResultTransformer where TEntity : class { // rows iterator public object TransformTuple(object[] … Read more