Skip to content

IUnitOfWork.OnRollback event

Occurs when the unit of work is disposed without a prior Commit. Like OnCommit, this is tied to the operation outcome, not to a database transaction: it also fires when no underlying transaction was ever started.

public event Action OnRollback;

See Also