Skip to main content
All docs
V26.1
  • EFCoreObjectSpaceProvider<TDbContext>.OptimisticLockDetection Property

    Specifies whether XAF identifies conflicting changes by using just the object’s concurrency token or by assessing all object properties.

    Namespace: DevExpress.ExpressApp.EFCore

    Assembly: DevExpress.ExpressApp.EFCore.v26.1.dll

    Declaration

    [DefaultValue(OptimisticLockDetection.AllFields)]
    public OptimisticLockDetection OptimisticLockDetection { get; set; }

    Property Value

    Type Default Description
    OptimisticLockDetection AllFields

    A conflict detection strategy.

    Remarks

    For detailed information, refer to the following topic: Optimistic Locking (Concurrency Control in EF Core).

    See Also