db4o

IExtObjectContainer.PeekPersisted Method 

returns a transient copy of a persistent object with all members set to the values that are currently stored to the database.

object PeekPersisted(
   object object,
   int depth,
   bool committed
);

Parameters

object
depth
the member depth to which the object is to be instantiated
committed
whether committed or set values are to be returned

Return Value

the object

Remarks

returns a transient copy of a persistent object with all members set to the values that are currently stored to the database.

The returned objects have no connection to the database.

With the

committed
parameter it is possible to specify, whether the desired object should contain the committed values or the values that were set by the running transaction with Db4objects.Db4o.IObjectContainer.Set .

A possible usecase for this feature:
An application might want to check all changes applied to an object by the running transaction.

See Also

IExtObjectContainer Interface | Db4objects.Db4o.Ext Namespace