I wonder if this is the kind of thing that would do it?

//Mapping for your class here
    <set
        name="Classes"
        table="StudentClasses">
            <key column="ClassID"/>
            <composite-element class="MyDomain.StudentClass, 
MyDomainAssembly">
                <property ......../>
                <property ......../>
            </composite-element>
    </set>
//End of mapping for your class

This way it's a composite part of the aggregate root class?


Pete
====
http://mrpmorris.blogspot.com
http://www.AlterEgos.com - Who do you want to be? 


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