Click or drag to resize

GraphPersist Method

Persists this object. Override in your subclasses when you want fields of your class to be persisted in some special way.

Namespace:  VelocityGraph
Assembly:  VelocityGraph (in VelocityGraph.dll) Version: 11.1.0.0 (11.1)
Syntax
public override ulong Persist(
	Placement place,
	SessionBase session,
	bool persistRefs = true,
	bool disableFlush = false,
	Queue<IOptimizedPersistable> toPersist = null
)

Parameters

place
Type: VelocityDbPlacement
The placement rules to follow when persisting this object
session
Type: VelocityDb.SessionSessionBase
The session managing this object
persistRefs (Optional)
Type: SystemBoolean
If true, objects referenced from this object will also be persisted
disableFlush (Optional)
Type: SystemBoolean
If true, disables possible flushing of updated pages while persisting this object; otherwise page flushing may occur
toPersist (Optional)
Type: System.Collections.GenericQueueIOptimizedPersistable
A queue of objects remaining to be persisted. Pass as a parameter to session.Persist

Return Value

Type: UInt64
The object id of this persistent object

Implements

IOptimizedPersistablePersist(Placement, SessionBase, Boolean, Boolean, QueueIOptimizedPersistable)
See Also