.NET Framework 4.5.2+
.NET Framework 4.5.2+
.NET Standard 2.0+
A newer version of this page is available. Switch to the current version.

OptimisticLockingReadMergeBehavior Enum

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

Namespace: DevExpress.Xpo

Assembly: DevExpress.Xpo.v19.2.dll

Declaration

public enum OptimisticLockingReadMergeBehavior
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