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(); _playerRivalryStatisticsRepository = new PlayerRivalryStatisticsRepository(); _transaction = new TransactionScope(TransactionScopeOption.RequiresNew); }