Click or drag to resize

OptimizedPersistableUpdate Method (Action)

Marks an object as being updated so that object will be written at commit transaction. Call before making object changes! Add code to update object in Action parameter.

Namespace:  VelocityDb
Assembly:  VelocityDb (in VelocityDb.dll) Version: 11.1.0.0 (11.1)
Syntax
public bool Update(
	Action codeBlock
)

Parameters

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

Return Value

Type: Boolean
true if update successful
See Also