Ejemplo n.º 1
0
        public MainWindow()
        {
            InitializeComponent();

            string connectionString = ConfigurationManager.ConnectionStrings["BoztekConnectionString"].ConnectionString;

            dataContext = new LinqToSQLDataClassesDataContext(connectionString);

            // InsertLectures();
            // InsertStudentLectureAssociations();
            // GetUniversityOfToni();
            // GetLecturesFromToni();
            // GetAllStudentsFromYale();
            // GetAllUniversityiesWithTransgenders();
            GetAllLecturesfromIllinoisStateUniversity();
        }
Ejemplo n.º 2
0
        public MainWindow()
        {
            InitializeComponent();

            string connectionString = ConfigurationManager.ConnectionStrings["LinqToSQL.Properties.Settings.UdemyClassDBConnectionString"].ConnectionString;

            dataContext = new LinqToSQLDataClassesDataContext(connectionString);

            //InsertStudentLectureAssociations();
            //GetUniversityOfToni();
            //GetTonisLectures();
            //GetAllStudentsFromYale();
            //GetAllUniversitiesWithFemales();
            //GetAllLecturesFromBeijingTech();
            //UpdateToni();
            DeleteJame();
        }
Ejemplo n.º 3
0
        public MainWindow()
        {
            InitializeComponent();

            // connect the database
            string connectionString = ConfigurationManager.ConnectionStrings["LinqtoSQL.Properties.Settings.BallDBConnectionString"].ConnectionString;

            dataContext = new LinqToSQLDataClassesDataContext(connectionString);

            //InsertUniversities();
            //InsertStudents();
            //InsertLectures();
            //InsertStudentLectureAssociations();
            //GetUniversityOfToni();
            //GetLectureOfToni();
            //GetAllStudentsFromYale();
            //GetAllUniversitiesWithTransgenders();
            //GetAllLecturesAtMizzou();
            //UpdateToni();
            DeleteJamie();
        }