public static Func<InstanceInfo, bool> MatchesTo(InstanceInfo instance)
			{
				Func<InstanceInfo, bool> matchingPredicate =
					x => x.GetConnectionString() == instance.GetConnectionString();

				return matchingPredicate;
			}
		private void SelectInstance(InstanceInfo instanceInfo)
		{
			IEnumerable<InstanceInfo> instances =
				this.cmbConnection.Items.OfType<InstanceInfo>();

			InstanceInfo firstConnection = instances.FirstOrDefault(
				x => x.GetConnectionString() == instanceInfo.GetConnectionString() && x.IsODBC == instanceInfo.IsODBC);

			if (firstConnection == null)
			{
				this.cmbConnection.Items.Add(instanceInfo);
				this.cmbConnection.SelectedItem = instanceInfo;
			}
			else
			{
				this.cmbConnection.SelectedItem = firstConnection;
			}
		}