Skip to main content
.NET 8.0+

OptimisticLockingReadBehaviorAttribute(OptimisticLockingReadBehavior) Constructor

Initializes a new instance of the OptimisticLockingReadBehaviorAttribute class with the specified OptimisticLockingReadBehaviorAttribute.Behavior property value.

Namespace: DevExpress.Xpo

Assembly: DevExpress.Xpo.v24.2.dll

Declaration

public OptimisticLockingReadBehaviorAttribute(
    OptimisticLockingReadBehavior behavior
)

Parameters

Name Type Description
behavior OptimisticLockingReadBehavior

An OptimisticLockingReadBehavior enumeration value that specifies how XPO behaves when reloading changed objects (objects with different versions).

See Also