[odb-users] private data members, accessors, and transient
MM
finjulhich at gmail.com
Fri May 30 09:24:12 EDT 2014
Hi,
Just to confirm. If i am given:
class C {
... m1() const;
void m1(...); /// with the right signatures
... m2() const;
void m2(...); /// with the right signatures
private:
...
};
// non instrusive
#pragma db value(C) definition transient
#pragma db member(C::m1)
#pragma db member(C::m2)
This will make all the internal data members transient, but will store m1
and m2 in the database when C is persisted?
More information about the odb-users
mailing list