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: 11.1.0.0 (11.1)
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