Click or drag to resize

SessionBasePersist Method (Object, IOptimizedPersistable, Boolean)

Persist an object that may or may not be a subclass of OptimizedPersistable

Namespace:  VelocityDb.Session
Assembly:  VelocityDb (in VelocityDb.dll) Version: 11.1.0.0 (11.1)
Syntax
public ulong Persist(
	Object obj,
	IOptimizedPersistable parent,
	bool inFlush = false
)

Parameters

obj
Type: SystemObject
The object to persist.
parent
Type: VelocityDbIOptimizedPersistable
A parent object of the object to persist.
inFlush (Optional)
Type: SystemBoolean
If true, disallow page flushing

Return Value

Type: UInt64
The Id of the persisted object.
See Also