Skip to main content
A newer version of this page is available. .
.NET Framework 4.5.2+

OptimisticLockingReadBehaviorAttribute(OptimisticLockingReadBehavior) Constructor

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

Namespace: DevExpress.Xpo

Assembly: DevExpress.Xpo.v21.1.dll

NuGet Package: DevExpress.Xpo

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