Exemplo n.º 1
0
        public override int GetHashCode()
        {
            int hashCode = EntityType.GetHashCode();

            hashCode = (hashCode * 397) ^ (EntityID.GetHashCode());
            return(hashCode);
        }
        public override int GetHashCode()
        {
            int hash = 17;

            hash = hash * 23 + EntityID.GetHashCode();
            hash = hash * 23 + EpisodeNumber.GetHashCode();
            hash = hash * 23 + ErrorCode.GetHashCode();
            hash = hash * 23 + ErrorMesg.GetHashCode();
            hash = hash * 23 + Facility.GetHashCode();
            hash = hash * 23 + OptionId.GetHashCode();
            hash = hash * 23 + OptionStaffId.GetHashCode();
            hash = hash * 23 + OptionUserId.GetHashCode();
            hash = hash * 23 + SystemCode.GetHashCode();
            foreach (var form in this.Forms)
            {
                hash = hash * 23 + form.GetHashCode();
            }
            return(hash);
        }
Exemplo n.º 3
0
 public override int GetHashCode()
 {
     return(Origin.GetHashCode());
 }