IOptimizedPersistable Methods |
The IOptimizedPersistable type exposes the following members.
Name | Description | |
---|---|---|
FlushTransients |
Flushes batched up objects such as objects added with AddFast(Key) | |
GetPage |
Get the persistent storage Page of this object
| |
GetTypeVersion |
The database engine needs this internally
| |
GetWrappedObject |
Internally used when IOptimizedPersistable is a wrapper for a non IOptimizedPersistable | |
InitializeAfterRead |
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.
| |
InitializeAfterRecreate |
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.
| |
Persist(SessionBase, IOptimizedPersistable, Boolean, Boolean) |
Persists this object.
| |
Persist(Placement, SessionBase, Boolean, Boolean, QueueIOptimizedPersistable) |
Persists this object.
| |
PersistMyReferences |
Persists references from this object
| |
ReadMe |
Provides a way to customize how an object is read. Used by a code generator
| |
SetPage |
Sets the persistent storage Page of this object
| |
SetTypeVersion |
The database engine needs this internally
| |
ShallowCopyTo |
Copies current object to a page
| |
Unpersist |
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.
| |
Update |
Call this function before updating any fields of this object
| |
WriteMe |
Provides a way to customize how an object is written. Used by a code generator
|