Hi,
By the way,
This issue goes further than the scope that GenPro covers, but it's important to state it.
In fact, the mapping compiles just fine. When I try to make a Linq to NHibernate sentence, if the **order **of the parent's primary keys on the mapping is not as the compiler would expect. The SQL generated matches different keys, for example:
select *
from son s, parent p
where
s.Id1Parent = p.Id2Parent
I'll be posting this issue to the NHusers group... let see what happens
regards.