Click or drag to resize

ServerClientSessionSharedUpdateObject Method (IOptimizedPersistable, Boolean, Boolean)

Updates an object

Namespace:  VelocityDb.Session
Assembly:  VelocityDb (in VelocityDb.dll) Version: 11.1.0.0 (11.1)
Syntax
public override bool UpdateObject(
	IOptimizedPersistable obj,
	bool inFlush,
	bool deleteObjFromIndexes = true
)

Parameters

obj
Type: VelocityDbIOptimizedPersistable
Object to be updated
inFlush
Type: SystemBoolean
Are we doing this as part of a page flush? Set to true to avoid a recursive page flush
deleteObjFromIndexes (Optional)
Type: SystemBoolean
Set to false if you know that this object is not part of any index. Safe to leave set to true in any case

Return Value

Type: Boolean
True if object is updated; otherwise false
See Also