Telerik OpenAccess Classic

Telerik OpenAccess ORM Send comments on this topic.
Object Identity
Programmer's Guide > OpenAccess ORM Classic (Old API) > Programming With OpenAccess > Object Identity

Glossary Item Box

This documentation article is a legacy resource describing the functionality of the deprecated OpenAccess Classic only. The contemporary documentation of Telerik OpenAccess ORM 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 an OpenAccess ORM database 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.

Types of Object Identity

Internal Identity

Single Field Identity

Multiple Field Identity