Back to Devexpress

OptimisticLockingAttribute Constructors

xpo-devexpress-dot-xpo-dot-optimisticlockingattribute-dot-ctor.md

latest1.7 KB
Original Source

OptimisticLockingAttribute Constructors

Specifies that a persistent object’s state can be locked during a session.

NameParametersDescription
OptimisticLockingAttribute()noneInitializes a new instance of the OptimisticLockingAttribute class with default settings.
OptimisticLockingAttribute(OptimisticLockingBehavior)lockingKindInitializes a new instance of the OptimisticLockingAttribute class with the specified OptimisticLockingAttribute.LockingKind property.
OptimisticLockingAttribute(Boolean)enabledInitializes a new instance of the OptimisticLockingAttribute class with the specified OptimisticLockingAttribute.Enabled property.
OptimisticLockingAttribute(String)fieldNameInitializes a new instance of the OptimisticLockingAttribute class with the specified field name.

See Also

OptimisticLockingAttribute Class

OptimisticLockingAttribute Members

DevExpress.Xpo Namespace