static void Main(string[] args) { char input; AutoMapperConfiguration.Configure(); do { ShowMenu(); input = Console.ReadLine().First(); switch (input) { case 'Q': break; case 'C': EntityFramework createEfTest = new EntityFramework(); createEfTest.CreateDatabase(); break; case 'T': List <TestResult> testResults = new List <TestResult>(); Console.WriteLine("# of Test Runs:"); NumRuns = int.Parse(Console.ReadLine()); //Gather Details for Test Console.WriteLine("# of Sports per Run: "); NumSports = int.Parse(Console.ReadLine()); Console.WriteLine("# of Teams per Sport: "); NumTeams = int.Parse(Console.ReadLine()); Console.WriteLine("# of Players per Team: "); NumPlayers = int.Parse(Console.ReadLine()); for (int i = 0; i < NumRuns; i++) { EntityFramework efTest = new EntityFramework(); testResults.AddRange(RunInsertTest(i, Framework.EntityFramework, efTest)); ADONET adoTest = new ADONET(); testResults.AddRange(RunInsertTest(i, Framework.ADONET, adoTest)); //DataAccess.Dapper dapperTest = new DataAccess.Dapper(); //testResults.AddRange(RunTests(i, Framework.Dapper, dapperTest)); } for (int i = 0; i < NumRuns; i++) { EntityFramework efTest = new EntityFramework(); testResults.AddRange(RunTests(i, Framework.EntityFramework, efTest)); ADONET adoTest = new ADONET(); testResults.AddRange(RunTests(i, Framework.ADONET, adoTest)); //DataAccess.Dapper dapperTest = new DataAccess.Dapper(); //testResults.AddRange(RunTests(i, Framework.Dapper, dapperTest)); } ProcessResults(testResults); break; } }while (input != 'Q'); }