Hi,
I have two tables with one-to-many relation and a problem with FNH
mappings because there is a composite key.
Imagine that tables are Person and Car (is not true but problem is the
same and is easier for me explain you the problem and for you
understand it if there are domain entities best known).

Fields of Person table are: {Id, BirthYear, FullName, ...}
Fields of Car table are: {BirthYear, FullName, Manufacturer}
Do you see?
Although Person table have an Id, who create tblCars use composite
BirthYear+FullName for references a person !!!!

How can I map this relation (with FNH).

Thanks very much!!!!
JC

-- 
You received this message because you are subscribed to the Google Groups 
"Fluent NHibernate" group.
To post to this group, send email to fluent-nhibernate@googlegroups.com.
To unsubscribe from this group, send email to 
fluent-nhibernate+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/fluent-nhibernate?hl=en.

Reply via email to