예제 #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();
        }
예제 #3
0
        public static List <Dictionary <String, String> > QuickSelect(String query, Dictionary <String, String> parameters)
        {
            DBInteractor db = new DBInteractor();

            db.Connect();
            List <Dictionary <String, String> > resultSet = db.Select(query, parameters);

            db.Disconnect();
            return(resultSet);
        }