Esempio n. 1
0
        //Prints the Table of the Request, has to be set for each Request
        static void PrintStudents()
        {
            var studentDA        = new StudentDA(_iconfiguration);
            var listStudentModel = studentDA.GetList("Faculty_Subjekt_Teacher");

            listStudentModel.ForEach(item => //Item is the given List by StudentDA
            {
                //This is the Output, can be used in any way you want
                Console.WriteLine(item.Fac_FacultyName + "\t || " + item.Sub_SubjektName + "\t|| " + item.Tea_TeacherName);
            });
            Console.WriteLine("Press any key to stop.");
            Console.ReadKey();
        }