Пример #1
0
        /// <summary>
        /// Main
        /// </summary>

        static void Main(string[] args)
        {
            File.Delete(ODB_NAME);
            TutorialOdb tutorial1 = new TutorialOdb();

            tutorial1.Step1();
            tutorial1.DisplaySports("Step 1");

            File.Delete(ODB_NAME);

            tutorial1.Step2();
            tutorial1.DisplayGames("Step 2");
            tutorial1.DisplayTeams("Step 2");
            tutorial1.DisplayPlayers("Step 2");
            tutorial1.DisplaySports("Step 2");

            tutorial1.Step3();

            tutorial1.Step4();
            tutorial1.Step5();
            tutorial1.Step6();
            tutorial1.Step7();
            //tutorial1.Step8();
            //tutorial1.step9();
            tutorial1.Step10();
            //tutorial1.step11();
            tutorial1.Step12();
            tutorial1.Step13();

            //tutorial1.step14();
            //tutorial1.step15();
            //tutorial1.step16();
            tutorial1.Step17();

            Console.ReadLine();
        }
Пример #2
0
    /// <summary>
    /// Main
    /// </summary>

        static void Main(string[] args)
        {
            File.Delete(ODB_NAME);
		    TutorialOdb tutorial1 = new TutorialOdb();

		    tutorial1.Step1();
		    tutorial1.DisplaySports("Step 1");

            File.Delete(ODB_NAME);

		    tutorial1.Step2();
		    tutorial1.DisplayGames("Step 2");
		    tutorial1.DisplayTeams("Step 2");
		    tutorial1.DisplayPlayers("Step 2");
		    tutorial1.DisplaySports("Step 2");

		    tutorial1.Step3();

		    tutorial1.Step4();
		    tutorial1.Step5();
		    tutorial1.Step6();
		    tutorial1.Step7();
		    //tutorial1.Step8();
		    //tutorial1.step9();
		    tutorial1.Step10();
		    //tutorial1.step11();
		    tutorial1.Step12();
		    tutorial1.Step13();
    		
		    //tutorial1.step14();
		    //tutorial1.step15();
		    //tutorial1.step16();
		    tutorial1.Step17();

            Console.ReadLine();
        }