Skip to main content
.NET 8.0+

MergeCollisionBehaviorAttribute.Behavior Property

Specifies the merge collision behavior for the MergeCollisionBehaviorAttribute attribute’s target property.

Namespace: DevExpress.Xpo

Assembly: DevExpress.Xpo.v24.2.dll

NuGet Package: DevExpress.Xpo

#Declaration

public OptimisticLockingReadMergeBehavior Behavior { get; }

#Property Value

Type Description
OptimisticLockingReadMergeBehavior

An OptimisticLockingReadMergeBehavior enumeration value specifying the merge collision behavior for the target property.

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