/// <summary> /// Singleton pattern to get the DatabaseFactory Object /// </summary> /// <returns>An instance of the DatabaseFactory</returns> public static DatabaseFactory getInstance() { if (instance == null) { instance = new DatabaseFactory(); } return instance; }