Esempio n. 1
0
        private void RefreshConnectionData(string filepath)
        {
            ConnParams    conParams  = new ConnParams(filepath, false);
            RecentQueries recQueries = new RecentQueries(conParams);

            recQueries = recQueries.ChkIfRecentConnIsInDb();

            if (recQueries != null)
            {
                FavouriteList favList = new FavouriteList(conParams);
                favList.RemoveFavouritFolderForAConnection();

                GroupofSearchStrings grpSearchString = new GroupofSearchStrings(conParams);
                grpSearchString.RemovesSearchStringsForAConnection();

                recQueries.deleteRecentQueriesForAConnection();
            }
        }
Esempio n. 2
0
        public static void RemoveSearchString(ConnParams conn)
        {
            GroupofSearchStrings SearchStringList = new GroupofSearchStrings(conn);

            SearchStringList.RemovesSearchStringsForAConnection();
        }
Esempio n. 3
0
 public static void RemoveSearchString(ConnParams conn)
 {
     GroupofSearchStrings SearchStringList = new GroupofSearchStrings(conn);
     SearchStringList.RemovesSearchStringsForAConnection();
 }
Esempio n. 4
0
    	private void RefreshConnectionData(string filepath)
    	{
    		ConnParams conParams = new ConnParams(filepath, false);
    		RecentQueries recQueries = new RecentQueries(conParams);
    		recQueries = recQueries.ChkIfRecentConnIsInDb();

    		if (recQueries != null)
    		{
    			FavouriteList favList = new FavouriteList(conParams);
    			favList.RemoveFavouritFolderForAConnection();

    			GroupofSearchStrings grpSearchString = new GroupofSearchStrings(conParams);
    			grpSearchString.RemovesSearchStringsForAConnection();

    			recQueries.deleteRecentQueriesForAConnection();
    		}
    	}