private RepositoryProxy() { _db = new SodraContext(); _playerRepository = new PlayerRepository(_db); _sessionRepository = new SessionRepository(_db); _logRepository = new LogRepository(_db); _characterRepository = new CharacterRepository(_db); }
public PlayerRepository(SodraContext db) { _db = db; }
public SessionRepository(SodraContext db) { _db = db; }
public CharacterRepository(SodraContext db) { _db = db; }
public LogRepository(SodraContext db) { _db = db; }