Data Access has been discontinued. Please refer to this page for more information.

The Persistent Class Uses The BackendCalculated Generator But None Of Its Properties Is Mapped To Backend Calculated Column

This article is relevant to entity models that utilize the deprecated Visual Studio integration of Telerik Data Access. The current documentation of the Data Access framework is available here.

This error occurs when a persistent class in the domain model uses the BackendCalculated generator but none of its properties is mapped to backend calculated column.

Solution

To resolve this error you can enable the Backend Calculated attribute for the primary key column, select different key generator for the persistent type, or select which one of the primary key members will use Autoinc key generator.

To enable the Backend Calculated attribute:

  • Double-click the error to open the Validation Dialog.
  • Select the Enable the Backend calculated attribute for the column option.

  • Click the Fix Selected button.

To select different key generator:

  • Double-click the error to open the Validation Dialog.
  • Select the Select key generator for the persistent tipe option.
  • From the drop-down list choose the key generator you wish to use.

  • Click the Fix Selected button.

To select which one of the pimary key members will use Autoinc key generator:

  • Double-click the error to open the Validation Dialog.
  • Select the Select one of the primary key members which will use the Autoinc key generator option.
  • From the drop-down list choose the member which should use the Autoinc key generator.

  • Click the Fix Selected button.

Further References