First, thanks for you answer !

However, doesn't

> public void MapDomain(ObjectRelationalMapper orm)
> {
> orm.Patterns.PoidStrategies.Add(new IdentityPoidPattern());
> orm.TablePerClass(domainClasses);
> orm.OneToOne<Client, Company>();
> orm.OneToOne<Client, Contact>();
> }

implies a schema where Client, Contact and Company are linked through
their primary keys ?

In my case, a client has its own PK, and has a FK to Company and
Contact with a unique constraint, and I think that's what causes the
problem.



Thanks

Blaise


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