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();
        }