expressappframework-devexpress-dot-expressapp-dot-dc-84006328.md
Contains values that specify conflict detection strategies used by the optimistic locking mechanism.
Namespace : DevExpress.ExpressApp.DC
Assembly : DevExpress.ExpressApp.v25.2.dll
NuGet Package : DevExpress.ExpressApp
public enum OptimisticLockDetection
Public Enum OptimisticLockDetection
| Name | Description |
|---|---|
Default |
XAF uses the conflict detection strategy from the previous hierarchy level. For example, if you specified the Default value for a class, XAF takes the option value from the Object Space.
|
| OptimisticLockField |
XAF checks the object’s concurrency token to determine whether the object is modified.
|
| AllFields |
XAF checks the object’s concurrency token and all object properties to determine whether the object is modified.
|
The following properties accept/return OptimisticLockDetection values:
For more information on how to specify this option, refer to the following help topic: Configure Conflict Detection and Handling Options.
For more information on how OptimisticLockHandling and OptimisticLockDetection work together, refer to the following section: Collision Detection and Handling Behaviors.
See Also