Initializes a new OptimisticLockArgs with the specified reference version.
When Context.Lock or Context.TryLock is called with an instance of OptimisticLockArgs, the value of the Version will be used as the client version instead of retreiving the server version of the object at the moment of locking.
Use OptimisticLockingSemantics.GetClientVersion Overload List to retreive a version that can be used as a reference version in a later call to Context.Lock or Context.TryLock .
Namespace: TechTalk.Genome.Locking
Assembly: TechTalk.Genome (in TechTalk.Genome.dll)
Version: 4.2.4.4
Editions: Professional, Evaluation, Express
OptimisticLockArgs Class | TechTalk.Genome.Locking Namespace | OptimisticLockArgs Constructor Overload List