public GameInningTeamBatterUnitTests() { Service = new GameInningTeamBatterService(); Dartball.Data.DartballContext dartballContext = new Dartball.Data.DartballContext(); dartballContext.Migrate(); }
public TeamPlayerLineupUnitTests() { Lineup = new TeamPlayerLineupService(); Dartball.Data.DartballContext dartballContext = new Dartball.Data.DartballContext(); dartballContext.Migrate(); }
public PlayerTeamUnitTests() { PlayerTeamService = new PlayerTeamService(); Dartball.Data.DartballContext dartballContext = new Dartball.Data.DartballContext(); dartballContext.Migrate(); }
public GameTeamUnitTests() { GameTeam = new GameTeamService(); Dartball.Data.DartballContext dartballContext = new Dartball.Data.DartballContext(); dartballContext.Migrate(); }
public GameInningUnitTests() { GameInning = new GameInningService(); Dartball.Data.DartballContext dartballContext = new Dartball.Data.DartballContext(); dartballContext.Migrate(); }
protected override void OnStart() { // Handle when your app starts Dartball.Data.DartballContext dartballContext = new Dartball.Data.DartballContext(); dartballContext.Migrate(); }
public TeamUnitTests() { TeamService = new TeamService(); TEST_ALTERNATE_ID = Guid.NewGuid(); Dartball.Data.DartballContext dartballContext = new Dartball.Data.DartballContext(); dartballContext.Migrate(); }
public PlayerUnitTests() { PlayerService = new PlayerService(); TEST_ID = Guid.NewGuid(); Dartball.Data.DartballContext dartballContext = new Dartball.Data.DartballContext(); dartballContext.Migrate(); }
public LeagueUnitTests() { LeagueService = new Dartball.BusinessLayer.League.Implementation.LeagueService(); TEST_ALTERNATE_ID = Guid.NewGuid(); Dartball.Data.DartballContext dartballContext = new Dartball.Data.DartballContext(); dartballContext.Migrate(); }
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); }
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(); }