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

The Identity Field Of The Persistent Class Is Mapped To a BackendCalculated Column But The Class Does Not Use The BackendCalculated Generator

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 warning occurs when the identity field of domain class is mapped to a backend calculated column (autoinc) but the class does not use the DatabaseServerCalculated identity mechanism.

Solution

To resolve this warning, either use the DatabaseServerCalculated identity mechanism or set the Backend Calculated property of the column to False.

To use the DatabaseServerCalculated key generator:

  1. Double-click the warning to open the Validation Dialog.
  2. Apply the automatic fix for changing the key generator.

To disable the Backend Calculated attribute:

  1. Double-click the error to open the Validation Dialog.
  2. Apply the automatic fix for disabling the Backend Calculated attribute of the primary key column.

Further References