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

Defining Identity Mechanisms - Overview

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.

When persisting objects, the objects require an "identity", so as to uniquely identify them for storage and retrieval. This in-memory id is normally mapped directly to a primary key column or columns in the database. Every object in Telerik Data Access has a unique identifier, i.e. a "primary key" from the database point of view. The identifier has to be defined when the object is made persistent (except when a key generator mechanism is used). Using this identifier, you can directly retrieve an object from the database.

The topics in this section demonstrate how to work with the different Identity Mechanisms: