C# 클래스 Arc.Infrastructure.Data.NHibernate.UnitOfWork

NHibernate unit of work adapter.
상속: IUnitOfWork
파일 보기 프로젝트 열기: marektihkan/Arc 1 사용 예제들

공개 메소드들

메소드 설명
BeginTransaction ( ) : ITransaction

Begins the transaction.

Dispose ( ) : void

Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.

TransactionalFlush ( ) : void

Flushes changes in transaction.

UnitOfWork ( ISession session, IUnitOfWorkFactory factory ) : System

Initializes a new instance of the UnitOfWork class.

보호된 메소드들

메소드 설명
Dispose ( bool disposeAll ) : void

Releases unmanaged and - optionally - managed resources

메소드 상세

BeginTransaction() 공개 메소드

Begins the transaction.
public BeginTransaction ( ) : ITransaction
리턴 ITransaction

Dispose() 공개 메소드

Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
public Dispose ( ) : void
리턴 void

Dispose() 보호된 메소드

Releases unmanaged and - optionally - managed resources
protected Dispose ( bool disposeAll ) : void
disposeAll bool true to release both managed and unmanaged resources; false to release only unmanaged resources.
리턴 void

TransactionalFlush() 공개 메소드

Flushes changes in transaction.
public TransactionalFlush ( ) : void
리턴 void

UnitOfWork() 공개 메소드

Initializes a new instance of the UnitOfWork class.
public UnitOfWork ( ISession session, IUnitOfWorkFactory factory ) : System
session ISession The NHibernate session.
factory IUnitOfWorkFactory The factory.
리턴 System