Skip to main content
.NET Framework 4.5.2+

MergeCollisionBehaviorAttribute Class

Applied to persistent properties. Specifies the merge collision behavior for the target property.

Namespace: DevExpress.Xpo

Assembly: DevExpress.Xpo.v24.1.dll

NuGet Package: DevExpress.Xpo

Declaration

[AttributeUsage(AttributeTargets.Property | AttributeTargets.Field, Inherited = true)]
public sealed class MergeCollisionBehaviorAttribute :
    Attribute

Remarks

Pass a OptimisticLockingReadMergeBehavior enumeration value to the MergeCollisionBehaviorAttribute attribute to override the XpoDefault.OptimisticLockingReadBehavior, Session.OptimisticLockingReadBehavior and XPClassInfo.OptimisticLockingReadBehavior settings.

Inheritance

Object
Attribute
MergeCollisionBehaviorAttribute
See Also