Hi,

I have a chunk of NH 3.2 mapping-by-code:

classMap.Set(block => block.Children,
                set =>
                    {
                        set.Cascade(Cascade.None);
                        set.Inverse(true);
                    },
                relation => relation.OneToMany());

classMap.ManyToOne(block => block.Parent);

I need to make Children and Parent protected. How can I do this with the new
mapping-by-code stuff?

Thanks,
Jason

-- 
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