Hi,
Can someone direct me on how to create a simple one-to-one mapping.
Below shows the names of the classes, and the .hbm mappings I used.
I'm hoping there is a Fluent version of this.. :)
Thanks in advance.
Greg
UserProfile {
<one-to-one name="UserPreferences" class="UserPreferences"
cascade="all"/>
}
UserPreferences {
<one-to-one name="UserProfile" class="UserProfile"
constrained="true"/>
}
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Fluent NHibernate" 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/fluent-nhibernate?hl=en
-~----------~----~----~----~------~----~------~--~---