TechTalk Genome v4.2

LockServerBindings.Add Method 

Adds a lock server binding with the specified Type and ILockServer.

public void Add(
   Type type,
   ILockServer lockServer
);

Parameters

type
The Type to which the server binding should apply. Lock server bindings are also inherited by derived classes if no explicit binding is defined for the derived class.
lockServer
The ILockServer implementation which should be used when locking persistent objects of the type specified by type. Possible values are PersistentOptimisticLockServer.Value or an ApplicationServer instance.

Remarks

See LockServerBindings for an example.

Requirements

Namespace: TechTalk.Genome.Locking

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

Version: 4.2.11.59

Editions: Professional, Evaluation, Express

See Also

LockServerBindings Class | TechTalk.Genome.Locking Namespace