C# 클래스 Infrastructure.Data.UnitOfWork

상속: IUnitOfWork, IDisposable
파일 보기 프로젝트 열기: huyrua/efprs

공개 메소드들

메소드 설명
BeginTransaction ( ) : void
BeginTransaction ( IsolationLevel isolationLevel ) : void
CommitTransaction ( ) : void
Dispose ( ) : void

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

RollBackTransaction ( ) : void
SaveChanges ( ) : void
SaveChanges ( SaveOptions saveOptions ) : void
UnitOfWork ( DbContext context ) : System

비공개 메소드들

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

Disposes off the managed and unmanaged resources used.

OpenConnection ( ) : void
ReleaseCurrentTransaction ( ) : void

Releases the current transaction

메소드 상세

BeginTransaction() 공개 메소드

public BeginTransaction ( ) : void
리턴 void

BeginTransaction() 공개 메소드

public BeginTransaction ( IsolationLevel isolationLevel ) : void
isolationLevel IsolationLevel
리턴 void

CommitTransaction() 공개 메소드

public CommitTransaction ( ) : void
리턴 void

Dispose() 공개 메소드

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

RollBackTransaction() 공개 메소드

public RollBackTransaction ( ) : void
리턴 void

SaveChanges() 공개 메소드

public SaveChanges ( ) : void
리턴 void

SaveChanges() 공개 메소드

public SaveChanges ( SaveOptions saveOptions ) : void
saveOptions SaveOptions
리턴 void

UnitOfWork() 공개 메소드

public UnitOfWork ( DbContext context ) : System
context DbContext
리턴 System