示例#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);
        }