Skip to main content
.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.v24.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