Hi,

I have a scenario that is probably stupidly simple, but I can't seem
to get it working.

Effectively I have a class where some properties are references to
other classes. In particular, my top level class "Content" represents
a website page, and it's title field is a reference to another class
"MultiLanguageString".

The "MultiLanguageString" class consists of a collection of
"LanguageStrings". With respect to the collection of
"LanguageStrings", I have set up a bidirectional relationship such
that new LanguageStrings are automatically saved whenever the parent
"MultiLanguageString" is saved.

How can I tell NHibernate that I want my Title "MultiLanguageString"
is a unique child of "Content", and therefore would be saved and
updated along with its parent?

Hope some clever soul can help me through this issue.

Cheers,

Mark

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