.NET Framework 4.5.2+
.NET Framework 4.5.2+
.NET Standard 2.0+

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