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

db4o calls this method when a stored object needs to be instantiated.

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

Syntax

Visual Basic (Declaration)
Function OnInstantiate ( _
	container As IObjectContainer, _
	storedObject As Object _
) As Object
C#
Object OnInstantiate (
	IObjectContainer container,
	Object storedObject
)
Visual C++
Object^ OnInstantiate (
	IObjectContainer^ container, 
	Object^ storedObject
)

Parameters

container
Db4objects.Db4o.IObjectContainer
the ObjectContainer used
storedObject
System.Object
the object stored with ObjectTranslator.onStore .

Return Value

the instantiated object.

Remarks

db4o calls this method when a stored object needs to be instantiated.