Telerik OpenAccess Classic

Telerik OpenAccess ORM Send comments on this topic.
Concurrency Control
Programmer's Guide > OpenAccess ORM Classic (Old API) > Programming With OpenAccess > The OpenAccess ORM Disconnected API > Concurrency Control

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.

The object container may be disconnected for a long time. Using a pessimistic concurrency control scheme—not allowing access to the objects in the database while they are in the container—is probably not possible in most applications. For this reason, OpenAccess ORM provides an optimistic concurrency mechanism for working with disconnected object containers.

When an object is copied into the ObjectContainer, it's optimistic version information is copied as well. This allows the OpenAccess ORM container logic to determine if an object has been modified since the time it was copied to the container. This results in an optimistic concurrency control scheme for the objects in the object container.