Click or drag to resize

DataServer.ConcurrencyControl Property

X#
A constant, identifying the mode of automatic concurrency control for this data server, determining when and how records are locked and released:

Namespace:  VO
Assembly:  VOSystemClasses (in VOSystemClasses.dll) Version: 2.19
Syntax
 VIRTUAL PROPERTY ConcurrencyControl AS USUAL GET SET 
Request Example View Source

Property Value

Type: Usual
A constant, identifying the mode of automatic concurrency control for this data server, determining when and how records are locked and released:
Remarks
One of the following constants, identifying the mode of automatic concurrency control for this data server, determining when and how records are locked and released:
ConstantDescription
CCNONEThe data server provides no automatic record locking; the application is required to do all locking explicitly.
CCOPTIMISTIC No locks are maintained continuously except when appending — the record just appended is locked, and the lock is only released when moving off the record or explicitly calling the DataServer or DBServer Unlock() method. For all other records, the record is reread from disk before any update is done. This is the default.
CCSTABLEThe record that the server is sitting on is always kept locked.
CCREPEATABLEAll records that have been read are maintained locked. The user is guaranteed that when moving back among previously viewed data, they are unchanged.
CCFILEAll the records in the entire set provided by the server are locked throughout. This is not very practical for windows associated with all the records of the server. It is intended to be used in conjunction with method DataServer:SetSelectiveRelation().
See Also