C# 클래스 JustPressPlay.Models.Repositories.UnitOfWork

상속: IDisposable, IUnitOfWork
파일 보기 프로젝트 열기: RIT-MAGIC/JustPressPlay 1 사용 예제들

공개 메소드들

메소드 설명
Dispose ( ) : void

Dispose this unit of work

Dispose ( bool disposing ) : void

Handles disposing the entity framework DB context

SaveChanges ( ) : int

Saves all database changes for this unit of work

UnitOfWork ( ) : System

Creates a new unit of work for the various database repositories

메소드 상세

Dispose() 공개 메소드

Dispose this unit of work
public Dispose ( ) : void
리턴 void

Dispose() 공개 메소드

Handles disposing the entity framework DB context
public Dispose ( bool disposing ) : void
disposing bool Are we disposing?
리턴 void

SaveChanges() 공개 메소드

Saves all database changes for this unit of work
public SaveChanges ( ) : int
리턴 int

UnitOfWork() 공개 메소드

Creates a new unit of work for the various database repositories
public UnitOfWork ( ) : System
리턴 System