Exemple #1
0
        static void Main(string[] args)
        {
            // create a single instance of the data base application
            StudentApp app = new StudentApp();

            // read in the data from the input file
            app.ReadDataFromInputFile();
            // operate the database - carry out the user's CRUD operations
            app.RunDatabaseApp();
        }
Exemple #2
0
        static void Main(string[] args)
        {
            // create a single object for the db app
            StudentApp app = new StudentApp();

            // read in data from the input file
            app.ReadDataFromInputFile();

            // operate the database - carry out the user's CRUD operations
            app.RunDatabaseApp();

            // write the data to the output file
            app.WriteDataToOutputFile();
        }
Exemple #3
0
        static void Main(string[] args)
        {
            //create a single instance of the db application
            StudentApp app = new StudentApp();

            //read in the data from the data file
            app.ReadDataFromInputFile();

            //Rrun the database app
            app.RunDatabaseApp();

            //write data to the output file
            app.WriteDataToOutputFile();
        }