[odb-users] raw pointer to application's global array

Boris Kolpackov boris at codesynthesis.com
Fri May 30 04:01:25 EDT 2014


Hi,

MM <finjulhich at gmail.com> writes:

> #pragma db member(object::my_id_) id auto
> 
> do i still need get/set ?

That depends on whether ODB can access the member directly or if
it can find suitable accessor/modifier automatically. Again, I
send you to the ODB manual, this time Section 3.2, "Declaring
Persistent Objects and Values".

Boris



More information about the odb-users mailing list