[odb-users] ODB Help.

Boris Kolpackov boris at codesynthesis.com
Thu May 12 20:40:48 EDT 2011


Hi Viacheslav,

art at it-gen.net writes:

> Can I set ReadOnly fields in objects?

No, there is no such concept. I am also not sure this is something
that ODB should handle. If the member is not modified, then it will
not be changed in the database. It seems to me that all you need to
do is make sure that the read-only member cannot be modified by the
application. 

You may also be interested in the 'db transient' ODB pragma.

> Also I need opportunity to talk to the field from the database at the rest
> of the other fields, but when we record the objects in database, this
> value should not sign.

I don't understand this question. Can show some concrete example that
illustrates what you are trying to achieve.

Boris



More information about the odb-users mailing list