예제 #1
0
        private void AddExcursions(object sender, EventArgs e)
        {
            var excursionsGenerator = new CreateSampleExcursions();
            excursionsGenerator.AddFirstTenExcursions();

            MessageBox.Show("Added 10 Excursion to the Database");
        }
예제 #2
0
        private void Add1000RandomExcursions(object sender, EventArgs e)
        {
            var excursionsGenerator = new CreateSampleExcursions();
            excursionsGenerator.AddRandomNumberOfExcursion(1000);

            MessageBox.Show("Added 1000 Random Excursion to the Database");
        }