Tuesday, 15 February 2011

c++ - Using ODB pragmas -


I understand how the ODB model works.

This snippet is:

  #pragma db object class person {Private: Friend class ODB :: Access; Person () {} #Prima DB id string email_; String name_; Unsigned short age_; };  

My question is, how can I specify these custom progressions and then reuse them? (#pragma db object)

Anyone #pragma is a compiler-dependent The implementation-defining feature is any #pragma , and can only be documented by a specific compiler in question.


No comments:

Post a Comment