xpo-devexpress-dot-xpo-fdd80d85.md
Applied to persistent properties. Specifies the merge collision behavior for the target property.
Namespace : DevExpress.Xpo
Assembly : DevExpress.Xpo.v25.2.dll
NuGet Package : DevExpress.Xpo
[AttributeUsage(AttributeTargets.Property | AttributeTargets.Field, Inherited = true)]
public sealed class MergeCollisionBehaviorAttribute :
Attribute
<AttributeUsage(AttributeTargets.Property Or AttributeTargets.Field, Inherited:=True)>
Public NotInheritable Class MergeCollisionBehaviorAttribute
Inherits Attribute
Pass a OptimisticLockingReadMergeBehavior enumeration value to the MergeCollisionBehaviorAttribute attribute to override the XpoDefault.OptimisticLockingReadBehavior, Session.OptimisticLockingReadBehavior and XPClassInfo.OptimisticLockingReadBehavior settings.
Object Attribute MergeCollisionBehaviorAttribute
See Also