NH has the same features. so that post should get you started.

On Aug 10, 11:28 am, Adeel <[email protected]> wrote:
> Dear all,
>
> I have a perculiar situation I need to tackle. I need to construct a
> many-to-one relationship wich is based on a non primary composite
> key.
>
> Class product1 has a many to one relation with class product2.
> Both have a unique identifier as Id, which is a integer and are
> modelled and mapped as such.
> The problem arises that someone has decided that the relationship
> should be based on
> two properties which are not the key.
> On the hibernate forum I saw this 
> thread:https://forum.hibernate.org/viewtopic.php?f=1&t=991369.
> But I don't know how to implement this in Nhibernate. Any suggestions?

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