[odb-users] How do I best code/define FKs (C++) for Read/Write?

ramin d ramindeh at gmail.com
Thu Oct 18 07:53:30 EDT 2018


Hello,


my newbie question is: how are Foreign Keys best defined in code (C++)
for reading and writing/inserts?
Identifying = PK/ID is used as FK
non-identifying = Candidate keys are used as FK

Should identifying FKs be coded different from non-identifying FKs?

The available documentation of ODB is confusing to me.


Thank  You,


R.



More information about the odb-users mailing list