Back to Devexpress

OptimisticLockDetection Enum

expressappframework-devexpress-dot-expressapp-dot-dc-84006328.md

latest3.0 KB
Original Source

OptimisticLockDetection Enum

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

Declaration

csharp
public enum OptimisticLockDetection
vb
Public Enum OptimisticLockDetection

Members

NameDescription
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:

Remarks

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

Optimistic Locking (Concurrency Control in EF Core)

DevExpress.ExpressApp.DC Namespace