TechTalk Genome v4.2

PessimisticLockingSemantics Class

ILockingSemantics implementation providing support for pessimistic locking.

For a list of all members of this type, see PessimisticLockingSemantics Members.

System.Object
   PessimisticLockingSemantics

public class PessimisticLockingSemantics : ILockingSemantics

Remarks

Call Context.Lock or Context.TryLock with PessimisticLockingSemantics to aquire an exclusive lock for a persistent object. Only a single context can hold a pessimistic lock for a given object.

To access the singleton PessimisticLockingSemantics instance when configuring locking for a Context through LockingSemanticsBindings or calling Context.Lock or Context.TryLock use the Value static property.

Requirements

Namespace: TechTalk.Genome.Locking

Assembly: TechTalk.Genome (in TechTalk.Genome.dll)

Version: 4.2.4.4

Editions: Professional, Evaluation

Database Platforms: Microsoft SQL Server 2000, Microsoft SQL Server 2005, Orcale 9i Release 2, Oracle 10g Release 2

See Also

PessimisticLockingSemantics Members | TechTalk.Genome.Locking Namespace