OptimisticLockingReadBehaviorAttribute(OptimisticLockingReadBehavior, Boolean) Constructor
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
Declaration
Parameters
Name | Type | Description |
---|---|---|
behavior | OptimisticLockingReadBehavior | An OptimisticLockingReadBehavior enumeration value that specifies how XPO behaves when reloading changed objects (objects with different versions). Overrides the Session.OptimisticLockingReadBehavior setting. |
trackPropertiesModifications | Boolean | true, if the persistent objects’ properties modifications are tracked; otherwise, false. Overrides the Session.TrackPropertiesModifications setting. |
See Also