Click or drag to resize

SessionBasePersist Method (Object)

This is the recommended way of persisting objects, it is simple and efficient. Each type is stored in its own database.

Namespace:  VelocityDb.Session
Assembly:  VelocityDb (in VelocityDb.dll) Version: 10.2.0.0 (10.2)
Syntax
public ulong Persist(
	Object obj
)

Parameters

obj
Type: SystemObject
The object to make persistent

Return Value

Type: UInt64
The Id of the persisted object
See Also