public GameRepository(GODDataContext dbContext) : base(dbContext) { }
public PlayerRepository(GODDataContext dbContext) : base(dbContext) { }
private bool disposedValue = false; // To detect redundant calls /// <summary> /// Initializes a new instance of the <see cref="BaseRepository{TEntity, TKey}"/> class. /// </summary> /// <param name="dbContext">The implementation of <see cref="DbContext"/></param> public BaseRepository(GODDataContext dbContext) { DbContext = dbContext; this.Entities = this.DbContext.Set <TEntity>(); }
public UnitOfWork(GODDataContext dbContext) { DbContext = dbContext; }
public RoundRepository(GODDataContext dbContext) : base(dbContext) { }