C# Class JustPressPlay.Models.Repositories.Repository

Mostra file Open project: RIT-MAGIC/JustPressPlay

Protected Properties

Property Type Description
_dbContext JustPressPlayDBEntities
_unitOfWork IUnitOfWork

Public Methods

Method Description
Repository ( IUnitOfWork unitOfWork ) : System

Creates a new repository with the specified dbContext

Method Details

Repository() public method

Creates a new repository with the specified dbContext
public Repository ( IUnitOfWork unitOfWork ) : System
unitOfWork IUnitOfWork The unit of work that created this repo
return System

Property Details

_dbContext protected_oe property

protected JustPressPlayDBEntities _dbContext
return JustPressPlayDBEntities

_unitOfWork protected_oe property

protected IUnitOfWork _unitOfWork
return IUnitOfWork