Back to Devexpress

MergeCollisionBehaviorAttribute.Behavior Property

xpo-devexpress-dot-xpo-dot-mergecollisionbehaviorattribute.md

latest1.8 KB
Original Source

MergeCollisionBehaviorAttribute.Behavior Property

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

Namespace : DevExpress.Xpo

Assembly : DevExpress.Xpo.v25.2.dll

NuGet Package : DevExpress.Xpo

Declaration

csharp
public OptimisticLockingReadMergeBehavior Behavior { get; }
vb
Public ReadOnly Property Behavior As OptimisticLockingReadMergeBehavior

Property Value

TypeDescription
OptimisticLockingReadMergeBehavior

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

|

Available values:

NameDescription
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

MergeCollisionBehaviorAttribute Class

MergeCollisionBehaviorAttribute Members

DevExpress.Xpo Namespace