C# Class Joshilewis.Infrastructure.UnitOfWork.NHibernateUnitOfWork

Inheritance: IUnitOfWork
Exibir arquivo Open project: joshilewis/lending Class Usage Examples

Public Methods

Method Description
Begin ( ) : void
Commit ( ) : void
Dispose ( ) : void
GetSession ( ) : ISession
NHibernateUnitOfWork ( ISessionFactory sessionFactory ) : System
RollBack ( ) : void

Method Details

Begin() public method

public Begin ( ) : void
return void

Commit() public method

public Commit ( ) : void
return void

Dispose() public method

public Dispose ( ) : void
return void

GetSession() public method

public GetSession ( ) : ISession
return ISession

NHibernateUnitOfWork() public method

public NHibernateUnitOfWork ( ISessionFactory sessionFactory ) : System
sessionFactory ISessionFactory
return System

RollBack() public method

public RollBack ( ) : void
return void