Persistate API documentation
ReadObject Method (checkCache, parentObj)
NamespacesPersistateMessageReadObject(Boolean, Persistent)

[This is preliminary documentation and is subject to change.]

Reads a Persistent object from the message.
Declaration Syntax
C#
public Persistent ReadObject(
	bool checkCache,
	Persistent parentObj
)
Parameters
checkCache (Boolean)
If true the cache is checked and/or updated, and a version check is made. If the object read from the message has a temporary reference, then this overrides the checkcache value and the cache is not used.
parentObj (Persistent)
If not null, this is set as the parent of the object read. If null, the parent Reference in the message is used, but not dereferenced.
Return Value
The object read from the message.
Remarks
This method optionally checks the cache to see if the object is already there, updates it if it is or adds it if it is not. It also raises the Modified event on the object if the version read from the message is a later version than the version in the cache.

Assembly: Persistate (Module: Persistate) Version: 0.6.1.20 (0.6.1.20)