public static void SaveSearchString(ConnParams conn, SeachString searchString) { GroupofSearchStrings searchStrings = new GroupofSearchStrings(conn); if (searchString.SearchString != string.Empty) { searchStrings.AddSearchStringToList(searchString); } }
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(); } }
public static void RemoveSearchString(ConnParams conn) { GroupofSearchStrings SearchStringList = new GroupofSearchStrings(conn); SearchStringList.RemovesSearchStringsForAConnection(); }
public static long GetTimeforSearchStringCreation(ConnParams conn) { GroupofSearchStrings lstsearchstring = new GroupofSearchStrings(conn); return lstsearchstring.ReturnTimeWhenSearchStringCreated(); }
public static void SaveSearchString(ConnParams conn, SeachString searchString) { GroupofSearchStrings searchStrings = new GroupofSearchStrings(conn); if (searchString.SearchString != string.Empty) searchStrings.AddSearchStringToList(searchString); }
public static List<string> GetSearchString(ConnParams conn) { GroupofSearchStrings searchStrings = new GroupofSearchStrings(conn); return searchStrings.ReturnStringList(); }
public static void RemoveSearchString(ConnParams conn) { GroupofSearchStrings SearchStringList = new GroupofSearchStrings(conn); SearchStringList.RemovesSearchStringsForAConnection(); }
public static long GetTimeforSearchStringCreation(ConnParams conn) { GroupofSearchStrings lstsearchstring = new GroupofSearchStrings(conn); return(lstsearchstring.ReturnTimeWhenSearchStringCreated()); }
public static List <string> GetSearchString(ConnParams conn) { GroupofSearchStrings searchStrings = new GroupofSearchStrings(conn); return(searchStrings.ReturnStringList()); }
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(); } }