Click or drag to resize

SessionBasePersist Method (Object, Placement, 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,
	Placement place,
	bool inFlush = false
)

Parameters

obj
Type: SystemObject
The object to persist.
place
Type: VelocityDbPlacement
A placement guidance
inFlush (Optional)
Type: SystemBoolean
If true, disallow page flushing

Return Value

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