Skip to main content
All docs
V25.1
  • .NET 8.0+
    • The page you are viewing does not exist in the .NET Framework 4.6.2+ platform documentation. This link will take you to the parent topic of the current section.

    OptimisticLockDetection Enum

    Contains values that specify conflict detection strategies used by the optimistic locking mechanism.

    Namespace: DevExpress.ExpressApp.DC

    Assembly: DevExpress.ExpressApp.v25.1.dll

    NuGet Package: DevExpress.ExpressApp

    Declaration

    public enum OptimisticLockDetection

    Members

    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.

    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