public void Initialize()
 {
     _gameRepository     = new GameRepository();
     _holeRepository     = new HoleRepository();
     _playerRepository   = new PlayerRepository();
     _shotTypeRepository = new ShotTypeRepository();
     _shotRepository     = new ShotRepository();
     _transaction        = new TransactionScope(TransactionScopeOption.RequiresNew);
 }
 public void Initialize()
 {
     _gameRepository = new GameRepository();
     _holeRepository = new HoleRepository();
     _playerRepository = new PlayerRepository();
     _shotTypeRepository = new ShotTypeRepository();
     _shotRepository = new ShotRepository();
     _transaction = new TransactionScope(TransactionScopeOption.RequiresNew);
 }
 public void Initialize()
 {
     _scoreRepository = new ShotRepository(DatabaseFactory, QueryFactory);
     _holeRepository = new HoleRepository(DatabaseFactory, QueryFactory);
     _transaction = new TransactionScope(TransactionScopeOption.RequiresNew);
 }