public bool Identical(IDatabaseConnection connection) { LoadAll(); foreach (IDatabaseConnection existingConnection in _connections) { if (connection.Equals(existingConnection)) return true; if (connection.Name == existingConnection.Name) return false; } return false; }