public static ConnectionManager GetInstance() { if (_theUniqueInstance == null) return _theUniqueInstance = new ConnectionManager(); else return _theUniqueInstance; }
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; }
public static void KillSingleton() { _theUniqueInstance = null; }