IOptimizedPersistablePersist Method (Placement, SessionBase, Boolean, Boolean, QueueIOptimizedPersistable) |
Persists this object.
Namespace:
VelocityDb
Assembly:
VelocityDb (in VelocityDb.dll) Version: 11.1.0.0 (11.1)
Syntax ulong Persist(
Placement place,
SessionBase session,
bool persistRefs = true,
bool disableFlush = false,
Queue<IOptimizedPersistable> toPersist = null
)
Function Persist (
place As Placement,
session As SessionBase,
Optional persistRefs As Boolean = true,
Optional disableFlush As Boolean = false,
Optional toPersist As Queue(Of IOptimizedPersistable) = Nothing
) As ULong
unsigned long long Persist(
Placement^ place,
SessionBase^ session,
bool persistRefs = true,
bool disableFlush = false,
Queue<IOptimizedPersistable^>^ toPersist = nullptr
)
abstract Persist :
place : Placement *
session : SessionBase *
?persistRefs : bool *
?disableFlush : bool *
?toPersist : Queue<IOptimizedPersistable>
(* Defaults:
let _persistRefs = defaultArg persistRefs true
let _disableFlush = defaultArg disableFlush false
let _toPersist = defaultArg toPersist null
*)
-> uint64
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:
UInt64The object id of the persistent object
See Also