Skip to main content

XPMemberInfo.MergeCollisionBehavior Property

Gets a value that indicates the behavior when merging changed objects (objects with different versions).

Namespace: DevExpress.Xpo.Metadata

Assembly: DevExpress.Xpo.v24.2.dll

NuGet Package: DevExpress.Xpo

#Declaration

public OptimisticLockingReadMergeBehavior MergeCollisionBehavior { get; }

#Property Value

Type Description
OptimisticLockingReadMergeBehavior

A OptimisticLockingReadMergeBehavior enumeration value that indicates the behavior when merging changed objects.

Available values:

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.

See Also