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
)
Public Function Persist (
obj As Object
) As ULong
public:
unsigned long long Persist(
Object^ obj
)
member Persist :
obj : Object -> uint64
Parameters
- obj
- Type: SystemObject
The object to make persistent
Return Value
Type:
UInt64The Id of the persisted object
See Also