Click or drag to resize

IOptimizedPersistablePersist Method (Placement, SessionBase, Boolean, Boolean, QueueIOptimizedPersistable)

Persists this object.

Namespace:  VelocityDb
Assembly:  VelocityDb (in VelocityDb.dll) Version: 10.2.0.0 (10.2)
Syntax
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 the persistent object
See Also