Пример #1
0
        //à faire partout ailleurs que dans les boucles
        public static void QuickExecute(String query, Dictionary <String, String> parameters)
        {
            DBInteractor db = new DBInteractor();

            db.Connect();
            db.Execute(query, parameters);
            db.Disconnect();
        }
Пример #2
0
        public static void QuickExecute(String query)
        {
            DBInteractor db = new DBInteractor();

            db.Connect();
            db.Execute(query);
            db.Disconnect();
        }