Esempio n. 1
0
 public static ConnectionManager GetInstance()
 {
     if (_theUniqueInstance == null)
         return _theUniqueInstance = new ConnectionManager();
     else
         return _theUniqueInstance;
 }
Esempio n. 2
0
 public static ConnectionManager GetInstance(string pLogin, string pPassword, string pServer, string pDatabase, string pTimeout, bool integrated)
 {
     if (_theUniqueInstance == null)
         return _theUniqueInstance = new ConnectionManager(pLogin, pPassword, pServer, pDatabase, pTimeout, integrated);
     else
         return _theUniqueInstance;
 }
Esempio n. 3
0
 public static void KillSingleton()
 {
     _theUniqueInstance = null;
 }