예제 #1
0
        private static void deleteKunde()
        {
            string statement  = "delete from bil where id = 1";
            string statement2 = "delete from kunder where id = 1";

            SqlTest.delete(statement);
            SqlTest.delete(statement2);
        }
예제 #2
0
 static void Main(string[] args)
 {
     opretKunde();
     SqlTest.Select("select * from kunder");
     opretBil();
     BilDotCs.Select("select * from bil");
     updateBil();
     deleteKunde();
     Console.ReadKey();
 }
예제 #3
0
        private static void opretKunde()
        {
            string statement = "insert into kunder values ('" + "Jesper" + "','" + "Fårekylling" + "'," + "2800" + ")";

            SqlTest.insert(statement);
        }