IExtObjectContainer.

Purge(Object) Method

Summary

unloads a specific object from the db4o reference mechanism.

Syntax

void Purge(Object obj)

Remarks

unloads a specific object from the db4o reference mechanism.

db4o keeps references to all newly stored and instantiated objects in memory, to be able to manage object identities.

With calls to this method it is possible to remove an object from the reference mechanism.
An object removed with purge(Object) is not "known" to the ObjectContainer afterwards, so this method may also be used to create multiple copies of objects.

purge(Object) has no influence on the persistence state of objects. "Purged" objects can be reretrieved with queries.

Parameters

Name Type Description
obj Object the object to be removed from the reference mechanism.

Return Value

Type Description
void