Hi,

I have this code:

mapper.Class<Test>(ca =>
                        {
                            ca.Component(x => x.DynamicAttributes, new
                                {
                                    SomeStringAttribute1 = ""
                                }, dc =>
                                        {
                                            dc.Property(arg => 
arg.SomeStringAttribute1);
                                        });
                        }
    );

Is there a way to map a variable number of "SomeStringAttributes" where I 
know the number first at runtime. I know I could generate XML for the 
mapping and do it that way, but is it a way to do this when mapping by 
code? :)

Regards,
Peter

-- 
You received this message because you are subscribed to the Google Groups 
"nhusers" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/nhusers/-/Ulk9MFvZxKcJ.
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