IObjectConstructor.

OnInstantiate(IObjectContainer, Object) Method

Summary

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

Syntax

Object OnInstantiate(IObjectContainer container, Object storedObject)

Remarks

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

Parameters

Name Type Description
container IObjectContainer the ObjectContainer used
storedObject Object the object stored with Db4objects.Db4o.Config.IObjectTranslator.OnStore(Db4objects.Db4o.IObjectContainer,System.Object) .

Return Value

Type Description
Object the instantiated object.