You are right, it really seems that the meta class on the diagram is not synchronized with the actual persistent class definition, we will have to investigate and fix this, thank you for reporting it.
When you applied the changes from the database, the identity mechanism property of the persistent class has been changed back to Default
. This is in fact expected behavior because when you set the identity mechanism of the class to Backed Calculated
, an attribute named Autoinc
is set to true on the primary key column of the meta table instance. Later, when you update from database, there is a change detected for this Autoinc
attribute. If you do not apply this change the identity mechanism of the class will be left as you have set it (BackendCalculated).
In the Update from Database wizard you are able to see this change if you double-click on the table detected as modified, and then once again on the primary key column. In this case you can apply the changes only for the newly added columns and skip the one for the primary key column that would change the identity mechanism if applied.
Hope that helps.
the Telerik team
Do you want to have your say when we set our development plans?
Do you want to know when a feature you care about is added or when a bug fixed?
Telerik Public Issue Tracking
system and vote to affect the priority of the items