Manipulating the field behavior results in changes in the configuration from which OpenAccess reads the model metadata( app.config). They are not reflected into the get and set property accessors as the fields are not really compiled as readonly, it is OpenAcess that takes care of this behavior in the runtime.
You can see the changes for the properties with different than readwrite
(default) behavior inside the configuration file:
1. Locate the field node
inside the App.config file;
2. Make sure the behavior
attribute with the appropriate setting is specified for this field;
One noteworthy thing regarding this topic is that in cases of readonly
field behavior, on insert, field is set to null.
be done on primary keys though.
the Telerik team