示例#1
0
 private RepositoryProxy()
 {
     _db = new SodraContext();
     _playerRepository    = new PlayerRepository(_db);
     _sessionRepository   = new SessionRepository(_db);
     _logRepository       = new LogRepository(_db);
     _characterRepository = new CharacterRepository(_db);
 }
示例#2
0
 public PlayerRepository(SodraContext db)
 {
     _db = db;
 }
示例#3
0
 public SessionRepository(SodraContext db)
 {
     _db = db;
 }
示例#4
0
 public CharacterRepository(SodraContext db)
 {
     _db = db;
 }
示例#5
0
 public LogRepository(SodraContext db)
 {
     _db = db;
 }