SessionBasePersist Method (Object, Placement, Boolean) |
Persist an object that may or may not be a subclass of OptimizedPersistable
Namespace:
VelocityDb.Session
Assembly:
VelocityDb (in VelocityDb.dll) Version: 11.1.0.0 (11.1)
Syntax public ulong Persist(
Object obj,
Placement place,
bool inFlush = false
)
Public Function Persist (
obj As Object,
place As Placement,
Optional inFlush As Boolean = false
) As ULong
public:
unsigned long long Persist(
Object^ obj,
Placement^ place,
bool inFlush = false
)
member Persist :
obj : Object *
place : Placement *
?inFlush : bool
(* Defaults:
let _inFlush = defaultArg inFlush false
*)
-> uint64
Parameters
- obj
- Type: SystemObject
The object to persist. - place
- Type: VelocityDbPlacement
A placement guidance - inFlush (Optional)
- Type: SystemBoolean
If true, disallow page flushing
Return Value
Type:
UInt64The Id of the persisted object.
See Also