public GameInningTeamBatterUnitTests()
        {
            Service = new GameInningTeamBatterService();

            Dartball.Data.DartballContext dartballContext = new Dartball.Data.DartballContext();
            dartballContext.Migrate();
        }
Пример #2
0
        public TeamPlayerLineupUnitTests()
        {
            Lineup = new TeamPlayerLineupService();

            Dartball.Data.DartballContext dartballContext = new Dartball.Data.DartballContext();
            dartballContext.Migrate();
        }
Пример #3
0
        public PlayerTeamUnitTests()
        {
            PlayerTeamService = new PlayerTeamService();

            Dartball.Data.DartballContext dartballContext = new Dartball.Data.DartballContext();
            dartballContext.Migrate();
        }
Пример #4
0
        public GameTeamUnitTests()
        {
            GameTeam = new GameTeamService();

            Dartball.Data.DartballContext dartballContext = new Dartball.Data.DartballContext();
            dartballContext.Migrate();
        }
Пример #5
0
        public GameInningUnitTests()
        {
            GameInning = new GameInningService();

            Dartball.Data.DartballContext dartballContext = new Dartball.Data.DartballContext();
            dartballContext.Migrate();
        }
Пример #6
0
        protected override void OnStart()
        {
            // Handle when your app starts

            Dartball.Data.DartballContext dartballContext = new Dartball.Data.DartballContext();
            dartballContext.Migrate();
        }
Пример #7
0
        public TeamUnitTests()
        {
            TeamService       = new TeamService();
            TEST_ALTERNATE_ID = Guid.NewGuid();

            Dartball.Data.DartballContext dartballContext = new Dartball.Data.DartballContext();
            dartballContext.Migrate();
        }
Пример #8
0
        public PlayerUnitTests()
        {
            PlayerService = new PlayerService();
            TEST_ID       = Guid.NewGuid();

            Dartball.Data.DartballContext dartballContext = new Dartball.Data.DartballContext();
            dartballContext.Migrate();
        }
Пример #9
0
        public LeagueUnitTests()
        {
            LeagueService     = new Dartball.BusinessLayer.League.Implementation.LeagueService();
            TEST_ALTERNATE_ID = Guid.NewGuid();

            Dartball.Data.DartballContext dartballContext = new Dartball.Data.DartballContext();
            dartballContext.Migrate();
        }
Пример #10
0
        public GameUnitTests()
        {
            Game = new GameService();

            Dartball.Data.DartballContext dartballContext = new Dartball.Data.DartballContext();
            dartballContext.Migrate();

            TEST_GAME_ID     = Guid.NewGuid();
            TEST_GAME_DATE   = DateTime.Today;
            TEST_GAME_DATE_2 = DateTime.Today.AddDays(-1);
        }
Пример #11
0
        public IntegrationBase()
        {
            League               = new LeagueService();
            Team                 = new TeamService();
            Game                 = new GameService();
            Player               = new PlayerService();
            GameInning           = new GameInningService();
            GameTeam             = new GameTeamService();
            GameInningTeam       = new GameInningTeamService();
            GameInningTeamBatter = new GameInningTeamBatterService();
            TeamPlayerLineup     = new TeamPlayerLineupService();

            Dartball.Data.DartballContext dartballContext = new Dartball.Data.DartballContext();
            dartballContext.Migrate();
        }