[odb-users] multiple base classes

MM finjulhich at gmail.com
Thu Aug 2 15:45:20 EDT 2018


Hello,

I have the following hierarchy:

class ELBase { ... };
class EL { ... };

class Derived : public ELBase, public EL { ... };

#pragma db object(ELBase) polymorphic table("eqlogb") transient definition
#pragma db object(EL) polymorphic table("eqlog") transient definition

#pragma db object(Derived) definition

Is this supported?
In fact EL is a implementation helper, and while I use ELBase pointers and
references, I don't access the objects via EL pointers and references.

Rds,


More information about the odb-users mailing list