.NET Standard 2.0+
.NET Framework 4.5.2+
.NET Standard 2.0+

OptimisticLockingReadBehaviorAttribute.Behavior Property

Specifies how XPO behaves when reloading changed objects (objects with different versions).

Namespace: DevExpress.Xpo

Assembly: DevExpress.Xpo.v20.2.dll

Declaration

public OptimisticLockingReadBehavior Behavior { get; }
Public ReadOnly Property Behavior As OptimisticLockingReadBehavior

Property Value

Type Description
OptimisticLockingReadBehavior

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

Remarks

For details, see the Session.OptimisticLockingReadBehavior topic.

See Also