The requested page is not available for the requested platform. You are viewing the content for .NET Framework 4.5.2+ platform.
.NET Framework 4.5.2+
.NET Framework 4.5.2+
.NET Standard 2.0+

OptimisticLockingReadBehaviorAttribute Constructors

Specifies the field-level optimistic locking settings of a persistent object.

Name Parameters Description
OptimisticLockingReadBehaviorAttribute(OptimisticLockingReadBehavior) behavior

Initializes a new instance of the OptimisticLockingReadBehaviorAttribute class with the specified OptimisticLockingReadBehaviorAttribute.Behavior property value.

OptimisticLockingReadBehaviorAttribute(OptimisticLockingReadBehavior, Boolean) behavior, trackPropertiesModifications

Initializes a new instance of the OptimisticLockingReadBehaviorAttribute class with the specified OptimisticLockingReadBehaviorAttribute.Behavior and OptimisticLockingReadBehaviorAttribute.TrackPropertiesModifications property values.

See Also