Click or drag to resize

SessionBasePersist Method (Placement, IOptimizedPersistable)

Persist an object that is an OptimizedPersistable or a subclass

Namespace:  VelocityDb.Session
Assembly:  VelocityDb (in VelocityDb.dll) Version: 11.1.0.0 (11.1)
Syntax
public ulong Persist(
	Placement place,
	IOptimizedPersistable obj
)

Parameters

place
Type: VelocityDbPlacement
Provides placement guidance
obj
Type: VelocityDbIOptimizedPersistable
The object to persist

Return Value

Type: UInt64
The Id of the persistent object
See Also