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

The IdentityType Is Not Compatible With The Number Identity Fields

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 the domain model contains a persistent class with identity type that is not compatible with the number of its identity fields. For example, the identity type of the class is "multiple" but the number of identity fields is one.

Solution

To resolve this error, set the correct identity type for the persistent class:

  1. Double-click the error to open the Validation Dialog.
  2. Apply the automatic fix for changing the identity type.

Further References