Пример #1
0
        public override int GetHashCode()
        {
            var hashCode = -1252559737;

            hashCode = hashCode * -1521134295 + IdEmpresa.GetHashCode();
            hashCode = hashCode * -1521134295 + EqualityComparer <string> .Default.GetHashCode(IdCiclo);

            return(hashCode);
        }
Пример #2
0
        public override int GetHashCode()
        {
            int hashCode = 1862922013;

            hashCode = hashCode * -1521134295 + IdEmpresa.GetHashCode();
            hashCode = hashCode * -1521134295 + EqualityComparer <string> .Default.GetHashCode(IdCiclo);

            hashCode = hashCode * -1521134295 + Cantidad.GetHashCode();
            return(hashCode);
        }