public bool Equals(IEnvironmentModel other) { if(other == null) { return false; } //Dont ever EVER check any other property here or the connect control will die and you will be beaten;) return ID == other.ID; }