[This topic is pre-release documentation and is subject to change in future releases. Blank topics are included as placeholders.]

returns the main synchronisation lock.

Namespace: Db4objects.Db4o.Ext
Assembly:   Db4objects.Db4o (in Db4objects.Db4o.dll)

Syntax

Visual Basic (Declaration)
Function Lock As Object
C#
Object Lock ()
Visual C++
Object^ Lock ()

Return Value

Object the ObjectContainer lock object

Remarks

returns the main synchronisation lock.

Synchronize over this object to ensure exclusive access to the ObjectContainer.

Handle the use of this functionality with extreme care, since deadlocks can be produced with just two lines of code.