[odb-users] inheritance and derived class transient members

Boris Kolpackov boris at codesynthesis.com
Thu Aug 27 08:21:19 EDT 2015


Hi,

MM <finjulhich at gmail.com> writes:

> if the id member is defined in Base, and several Derived classes, each with
> a different table (repeating the columns from the base) that has a id
> column, would the different Deriveds have different id spaces, or the same
> one.

Well, if they have different tables, then of course they have different
id (primary key) spaces. Time to re-read Chapter 8, "Inheritance"?

Boris



More information about the odb-users mailing list