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
)
Public Function Update (
codeBlock As Action
) As Boolean
public:
bool Update(
Action^ codeBlock
)
member Update :
codeBlock : Action -> bool
Parameters
- codeBlock
- Type: SystemAction
Block of code doing actual update to the object
Return Value
Type:
Booleantrue if update successful
See Also