Skip to main content
A newer version of this page is available. .
.NET Framework 4.5.2+

OptimisticLockingAttribute Properties

Specifies that a persistent object’s state can be locked during a session.
Name Description
Enabled Gets or sets whether optimistic locking is enabled.
FieldName Gets the name of the system field which is used to control object locking for objects that have the object locking option enabled.
LockingKind Specifies the locking behavior.
TypeId When implemented in a derived class, gets a unique identifier for this Attribute. Inherited from Attribute.
See Also