[odb-users] Enforcing primary key in 1-N relationship

Davide Anastasia Davide.Anastasia at qualitycapital.com
Tue Nov 27 05:14:16 EST 2012


Hi,

the manual [1] describes how to obtain a table-in-the-middle in a 1-N
relationship using the "inverse" keyword.

 

I wonder whether there is a method to enforce that every value in the
"employer_employees" table is also primary key (avoid duplication).

 

Best,

Davide

 

[1] http://www.codesynthesis.com/products/odb/doc/manual.xhtml#6.2.2



More information about the odb-users mailing list