IObjectTranslator.

OnStore(IObjectContainer, Object) Method

Summary

db4o calls this method during storage and query evaluation.

Syntax

Object OnStore(IObjectContainer container, Object applicationObject)

Remarks

db4o calls this method during storage and query evaluation.

Parameters

Name Type Description
container IObjectContainer the ObjectContainer used
applicationObject Object the Object to be translated

Return Value

Type Description
Object return the object to store.
It needs to be of the class Db4objects.Db4o.Config.IObjectTranslator.StoredClass .