Joutsen Persistence v0.3.0+1-ga730d6d
Public Member Functions | List of all members
Joutsen.Persistence.UnitOfWork Interface Reference

Represents an atomic unit of work. More...

Public Member Functions

void Persist ()
 Persists the changes done by this unit. More...
 
void Undo ()
 Reverts the changes done by this unit. More...
 

Detailed Description

Represents an atomic unit of work.

Changes made should not be available until the unit is completed.

Since
0.2.0

Member Function Documentation

◆ Persist()

void Joutsen.Persistence.UnitOfWork.Persist ( )

Persists the changes done by this unit.

Implemented in Joutsen.Persistence.NHibernate.SessionContextUnitOfWork.

◆ Undo()

void Joutsen.Persistence.UnitOfWork.Undo ( )

Reverts the changes done by this unit.

Implemented in Joutsen.Persistence.NHibernate.SessionContextUnitOfWork.