Summary
db4o calls this method when a stored object needs to be instantiated.
- Assembly
- Db4objects
.Db4o-2010 .dll - Namespace
- Db4objects
.Db4o .Config - Containing Type
- IObjectConstructor
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. |