Right now the only help was to use a custom IResultTransformer
component to map a tree of DTOs.


On Jul 4, 12:11 pm, raffaeu <[email protected]> wrote:
> Hi, I have a self recursive DTO that is coming from a self recursive
> Domain entity.
>
> public class FolderDto
> {
>    public string Name { get; set; }
>    public string Id { get; set; }
>    public FolderDto Parent { get; set; }
>    public IList<FolderDto> Children { get; set; }
>
> }
>
> I retrieve the data using SQL and using the CreateSQLQuery. Then I
> transform the data using AliasToBean<FolderDto>.
> How I can traverse the object using AliasToBean (without creating a
> verbose IResultTrasnformer and map also the Parent/Children without
> an .hbm?

-- 
You received this message because you are subscribed to the Google Groups 
"nhusers" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/nhusers?hl=en.

Reply via email to