OptimisticLockingReadBehaviorAttribute(OptimisticLockingReadBehavior, Boolean) Constructor
In This Article
Initializes a new instance of the OptimisticLockingReadBehaviorAttribute class with the specified OptimisticLockingReadBehaviorAttribute.Behavior and OptimisticLockingReadBehaviorAttribute.TrackPropertiesModifications property values.
Namespace: DevExpress.Xpo
Assembly: DevExpress.Xpo.v24.2.dll
NuGet Package: DevExpress.Xpo
#Declaration
public OptimisticLockingReadBehaviorAttribute(
OptimisticLockingReadBehavior behavior,
bool trackPropertiesModifications
)
#Parameters
Name | Type | Description |
---|---|---|
behavior | Optimistic |
An Optimistic |
track |
Boolean | true, if the persistent objects’ properties modifications are tracked; otherwise, false. Overrides the Session. |
See Also