Hello .
I use NHibernate with HBM mapping
 I have two tables .

Table number 1 :
AUTO

with fields :

id PK
Version PK
IS_NEW PK
USER_ID PK

Table number 2:
ATTRIBUTE

with fields :

ATTRIBUTE_ID(PK)
VERSION(PK)
IS_NEW(PK)
AUTO_ID

I need to get object of type AUTO that contain collection of
ATTRIBUTE  objects.
relationship between twe objects : AUTO.ID=ATTRIBUTE.AUTO_ID AND
AUTO.VERSION=ATTRIBUTE.version and AUTO.IS_NEW=ATTRIBUTE.is_new

How must I to define HBM of Tables ??

PAY ATTENTION I USE Partial PK of  object AUTO
Thanks

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