that would get ugly ... what about child collections? On Thu, Apr 23, 2009 at 5:00 PM, Peter Morris <[email protected]> wrote: > > 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? > > > > >
-- It is the mark of an educated mind to be able to entertain a thought without accepting it. --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
