Пример #1
0
        public override bool Equals(object obj)
        {
            if (obj == null)
            {
                return(false);
            }
            UsuarioVO other = (UsuarioVO)obj;

            if (other == null)
            {
                return(false);
            }
            if (Ip == null)
            {
                if (other.Ip != null)
                {
                    return(false);
                }
            }
            else if (!Ip.Equals(other.Ip))
            {
                return(false);
            }
            if (!Matricula.Equals(other.Matricula))
            {
                return(false);
            }
            return(true);
        }