The Member Is Both an Identity And a Version Field

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 contains a property that is both an identity and a version field. Members cannot be primary key and version field at the same time.

Solution

To resolve this error, change the Concurrency Member:

  1. In the Visual Designer, select the domain class and press F4 to open Properties pane.
  2. Change the Concurrency Member property.

Further References