예제 #1
0
        static void Main(string[] args)
        {
            var dbTest = new Dbtest();

            Console.WriteLine("connect");
            dbTest.connect();
            Console.WriteLine("insert data");
            dbTest.insertData("11-21-31", "company1", 100);
            dbTest.insertData("12-22-32", "company2", 200);
            dbTest.insertData("13-23-33", "company3", 300);
            dbTest.insertData("14-24-34", "company4", 340);
            Console.WriteLine("select data");
            dbTest.selectAndPrint();
            Console.WriteLine("wipe data");
            dbTest.wipeData();
            Console.ReadKey();
        }