Пример #1
0
        public override int GetHashCode()
        {
            unchecked
            {
                var result = Latitud.GetHashCode();
                result = (result * 397) ^ Longitud.GetHashCode();
                result = (result * 397) ^ Orden;

                return(result);
            }
        }
Пример #2
0
 public override int GetHashCode()
 {
     unchecked
     {
         var result = IdMapa.GetHashCode();
         result = (result * 397) ^ IdCalle;
         result = (result * 397) ^ IdEsquina;
         result = (result * 397) ^ IdEntrecalle;
         result = (result * 397) ^ Altura;
         result = (result * 397) ^ Latitud.GetHashCode();
         result = (result * 397) ^ Longitud.GetHashCode();
         result = (result * 397) ^ Calle.GetHashCode();
         result = (result * 397) ^ Partido.GetHashCode();
         result = (result * 397) ^ Provincia.GetHashCode();
         result = (result * 397) ^ Pais.GetHashCode();
         result = (result * 397) ^ Descripcion.GetHashCode();
         return(result);
     }
 }