Skip to main content
.NET 8.0+

OptimisticLockingReadBehaviorAttribute(OptimisticLockingReadBehavior) Constructor

In This Article

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

Namespace: DevExpress.Xpo

Assembly: DevExpress.Xpo.v24.2.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