C# Class NHibernateUnitOfWork.UnitOfWorkFactory

Inheritance: IUnitOfWorkFactory
Exibir arquivo Open project: beginor/practice

Public Methods

Method Description
Create ( ) : IUnitOfWork
DisposeUnitOfWork ( IUnitOfWork unitOfWork ) : void

Private Methods

Method Description
CreateSession ( ) : ISession
UnitOfWorkFactory ( ) : System

Method Details

Create() public method

public Create ( ) : IUnitOfWork
return IUnitOfWork

DisposeUnitOfWork() public method

public DisposeUnitOfWork ( IUnitOfWork unitOfWork ) : void
unitOfWork IUnitOfWork
return void