Skip to main content
.NET 6.0+

OptimisticLockingReadMergeBehavior Enum

Lists the values that specify how XPO behaves when merging changed objects (objects with different versions).

Namespace: DevExpress.Xpo

Assembly: DevExpress.Xpo.v23.2.dll

NuGet Package: DevExpress.Xpo

Declaration

public enum OptimisticLockingReadMergeBehavior

Members

Name Description
Default

The changed objects are automatically reloaded. The default behavior can be changed by setting the XpoDefault.OptimisticLockingReadBehavior property.

Ignore

The client-side value persists.

ThrowException

An exception is thrown.

Reload

The database value is reloaded.

Remarks

The values listed by this enumeration are used to set the XPMemberInfo.MergeCollisionBehavior property.

See Also