TechTalk Genome v4.2

Context.AfterRollbackObject Event

Raised as last step of a Rollback operation for any persistent object that was involved in the operation.

public event RollbackEventHandler AfterRollbackObject;

Implements

IContext.AfterRollbackObject

Remarks

The subscriber of this event may freely modify sender or any other persistent objects however doing so will initiate a new logical transaction. Thus changes performed in the AfterRollbackObject event will be saved only at the next call to Commit.

The Context that raises the event will automatically become the active Context in the calling thread for the duration of the call. This ensures that any unbound proxies used in the event handlers are resolved from the relevant Context. When the events have been successfully processed, the context stack of the calling thread is restored to its previous state.

Requirements

Namespace: TechTalk.Genome

Assembly: TechTalk.Genome (in TechTalk.Genome.dll)

Version: 4.2.11.59

Editions: Professional, Evaluation, Express

See Also

Context Class | TechTalk.Genome Namespace | IAfterRollbackCallback | Rollback | BeforeRollbackObject