Hi there!
I've read several tutorials on mapping but I haven't found one that explains me how to map my specific table design. I'm using Nhibernate 1.2
I have a One-Many relationship in which the parent table contains the Lectures that were given in a classroom, and the child table contains a Foreign key to the Lecture, a Foreign Key to the ID of the student and an indicator that tells you if he assisted or not to the lecture (A = Absent, P = Present).
Could you please tell me how to map this specific table structure? I don't know how to specify multi key columns in the onemany relationship tag!
Thanks in advance for reading the basic post!
Roberto
|