[This topic is pre-release documentation and is subject to change in future releases. Blank topics are included as placeholders.]

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

Namespace: Db4objects.Db4o.Ext
Assembly:   Db4objects.Db4o (in Db4objects.Db4o.dll)

Syntax

Visual Basic (Declaration)
Function PeekPersisted ( _
	object As Object, _
	depth As Integer, _
	committed As Boolean _
) As Object
C#
Object PeekPersisted (
	Object object,
	int depth,
	bool committed
)
Visual C++
Object^ PeekPersisted (
	Object^ object, 
	int depth, 
	bool committed
)

Parameters

object
System.Object
depth
System.Int32
the member depth to which the object is to be instantiated
committed
System.Boolean
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
 Copy imageCopy Code
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.