Пример #1
0
        public static ConnectionDetails GetRefreshedCurrentRecentConnection()
        {
            ManageConnectionDetails manage = new ManageConnectionDetails(GetCurrentConnParams());

            return(manage.GetConnectionDetails());
        }
Пример #2
0
        public static void SaveRecentConnection(ConnectionDetails connDetails)
        {
            ManageConnectionDetails manage = new ManageConnectionDetails(GetCurrentConnParams());

            manage.SaveConnectionDetails(connDetails);
        }
Пример #3
0
        public static void DeleteConfigConnection(string path, ConnParams connnection)
        {
            ManageConnectionDetails manage = new ManageConnectionDetails(connnection);

            manage.RemoveCustomConfigPath(path);
        }
Пример #4
0
        public static List <ConnectionDetails> FetchAllConnections(bool checkRemote)
        {
            ManageConnectionDetails manage = new ManageConnectionDetails(GetCurrentConnParams());

            return(manage.GetAllConnections(checkRemote));
        }
Пример #5
0
        public static long GetTimeforRecentQueriesCreation()
        {
            ManageConnectionDetails manage = new ManageConnectionDetails(GetCurrentConnParams());

            return(manage.ReturnTimeWhenRecentQueriesCreated());
        }
Пример #6
0
        public static void AddQueriesToList(OMQuery query)
        {
            ManageConnectionDetails manage = new ManageConnectionDetails(GetCurrentConnParams());

            manage.AddQueryToList(query);
        }
Пример #7
0
        public static long ChkIfRecentConnIsInDb(ConnParams connectionDetails)
        {

            ManageConnectionDetails manage = new ManageConnectionDetails(connectionDetails);
            return manage.ChkIfRecentConnIsInDb();
        }
Пример #8
0
 public static void AddQueriesToList(OMQuery query)
 {
    
     ManageConnectionDetails manage = new ManageConnectionDetails(GetCurrentConnParams());
     manage.AddQueryToList(query);
 }
Пример #9
0
 public static void SaveRecentConnection(ConnectionDetails connDetails)
 {
     ManageConnectionDetails manage = new ManageConnectionDetails(GetCurrentConnParams());
     manage.SaveConnectionDetails(connDetails);
 }
Пример #10
0
 public static long ChkIfRecentConnIsInDb()
 {
  ManageConnectionDetails manage = new ManageConnectionDetails(GetCurrentConnParams());
     return manage.ChkIfRecentConnIsInDb();
 }
Пример #11
0
 public static ConnectionDetails GetRefreshedCurrentRecentConnection()
 {
     ManageConnectionDetails manage = new ManageConnectionDetails(GetCurrentConnParams());
     return manage.GetConnectionDetails();
 }
Пример #12
0
 public static List<ConnectionDetails> FetchAllConnections(bool checkRemote)
 {
     ManageConnectionDetails manage = new ManageConnectionDetails(GetCurrentConnParams());
     return manage.GetAllConnections(checkRemote);
 }
Пример #13
0
 public static void DeleteConfigConnection(string path, ConnParams connnection)
 {
   
     ManageConnectionDetails manage = new ManageConnectionDetails(connnection);
     manage.RemoveCustomConfigPath(path); 
 }
Пример #14
0
        public static long ChkIfRecentConnIsInDb(ConnParams connectionDetails)
        {
            ManageConnectionDetails manage = new ManageConnectionDetails(connectionDetails);

            return(manage.ChkIfRecentConnIsInDb());
        }
Пример #15
0
 public static void RemoveRecentQueries()
 {
     
     ManageConnectionDetails manage = new ManageConnectionDetails(GetCurrentConnParams());
     manage.DeleteRecentQueriesForAConnection();
 }
Пример #16
0
        public static void RemoveRecentQueries()
        {
            ManageConnectionDetails manage = new ManageConnectionDetails(GetCurrentConnParams());

            manage.DeleteRecentQueriesForAConnection();
        }
Пример #17
0
 public static long GetTimeforRecentQueriesCreation()
 {
   
     ManageConnectionDetails manage = new ManageConnectionDetails(GetCurrentConnParams());
     return manage.ReturnTimeWhenRecentQueriesCreated();
 }