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

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

Reads a Persistent object from the message.
Declaration Syntax
public Persistent ReadObject(
	bool checkCache,
	Persistent existing,
	Persistent parentObj
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.
existing (Persistent)
If non null, this object should be updated with the value read from the message. If this is non null, then the cache is not consulted.
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.
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 optionally updates an existing object, in which case the cache is not used. It also raises the Modified event on the object if the version read from the message is a later version than the existing object version or the version in the cache.

Assembly: Persistate (Module: Persistate) Version: (