Example #1
0
 public static ConnectionManager GetInstance(string pTestDb)
 {
     return _theUniqueInstance ?? (_theUniqueInstance = new ConnectionManager(pTestDb));
 }
Example #2
0
 public static ConnectionManager GetInstance(string pLogin, string pPassword, string pServer, string pDatabase, string pTimeout)
 {
     return _theUniqueInstance ?? (_theUniqueInstance = new ConnectionManager(pLogin, pPassword, pServer, pDatabase, pTimeout));
 }
Example #3
0
 public static ConnectionManager GetInstance()
 {
     return _theUniqueInstance ?? (_theUniqueInstance = new ConnectionManager());
 }
Example #4
0
 public static void KillSingleton()
 {
     Standard.KillSingleton();
     _theUniqueInstance = null;
 }
Example #5
0
 protected Manager(User pUser)
 {
     _md5 = pUser.Md5;
     _connectionManager = ConnectionManager.GetInstance();
 }
Example #6
0
 protected Manager(string pDatabaseConnectionString)
 {
     _connectionManager = ConnectionManager.GetInstance(pDatabaseConnectionString);
 }