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
)
Public Function Persist (
place As Placement,
obj As IOptimizedPersistable
) As ULong
public:
unsigned long long Persist(
Placement^ place,
IOptimizedPersistable^ obj
)
member Persist :
place : Placement *
obj : IOptimizedPersistable -> uint64
Parameters
- place
- Type: VelocityDbPlacement
Provides placement guidance - obj
- Type: VelocityDbIOptimizedPersistable
The object to persist
Return Value
Type:
UInt64The Id of the persistent object
See Also