コード例 #1
0
        public void TestMethod1()
        {
            AddressBook.DataLayer data = new AddressBook.DataLayer();
            data.InsertPerson("michal", "Imlauf", 12, 13);
            data.InsertAddres("A", "B", 53701, 29);


            // data.UpdateAddress(22,"C","E",000);
            //data.UpdatePerson(28,"A","C",17,18);
            BindingList <Person> persons = new BindingList <Person>();

            persons    = data.SelectAllPersons(persons);
            persons[0] = data.SelectAdresses(persons[0]);
            // data.DeleteAdress(1);
            // data.DeletePerson(1);
        }