Click or drag to resize

SessionBaseUpdateObject Method (Object, Action)

Provides a way to update an object in a multi thraeded scenario where we must make sure that object page isn't flushed until updates to object are done.

Namespace:  VelocityDb.Session
Assembly:  VelocityDb (in VelocityDb.dll) Version: 11.1.0.0 (11.1)
Syntax
public virtual bool UpdateObject(
	Object obj,
	Action codeBlock
)

Parameters

obj
Type: SystemObject
Object to update
codeBlock
Type: SystemAction
Block of code doing actual update to the object

Return Value

Type: Boolean
true if object updated; otherwise false
See Also