//à 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(); }
public static void QuickExecute(String query) { DBInteractor db = new DBInteractor(); db.Connect(); db.Execute(query); db.Disconnect(); }
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); }