Click or drag to resize

IOptimizedPersistable Methods

The IOptimizedPersistable type exposes the following members.

Methods
  NameDescription
Public methodFlushTransients
Flushes batched up objects such as objects added with AddFast(Key)
Public methodGetPage
Get the persistent storage Page of this object
Public methodGetTypeVersion
The database engine needs this internally
Public methodGetWrappedObject
Internally used when IOptimizedPersistable is a wrapper for a non IOptimizedPersistable
Public methodInitializeAfterRead
This function is called when an object has been read from disk and all data members (fields) have been loaded. Override this to provide your own initializations of transient data.
Public methodInitializeAfterRecreate
This function is called when an object has been read from disk before all data members (fields) have been fully loaded. Override this to provide your own initializations of transient data.
Public methodPersist(SessionBase, IOptimizedPersistable, Boolean, Boolean)
Persists this object.
Public methodPersist(Placement, SessionBase, Boolean, Boolean, QueueIOptimizedPersistable)
Persists this object.
Public methodPersistMyReferences
Persists references from this object
Public methodReadMe
Provides a way to customize how an object is read. Used by a code generator
Public methodSetPage
Sets the persistent storage Page of this object
Public methodSetTypeVersion
The database engine needs this internally
Public methodShallowCopyTo
Copies current object to a page
Public methodUnpersist
Removes an object from the persistent store and makes the object a transient object. It does not automatically make referenced objects unpersisted. Best way to do so is to override this virtual function in your own classes.
Public methodUpdate
Call this function before updating any fields of this object
Public methodWriteMe
Provides a way to customize how an object is written. Used by a code generator
Top
See Also