/// <summary> /// Computes and retrieves a hash code for an object. /// </summary> /// <remarks> /// This method implements the <see cref="Object">Object</see> method. /// </remarks> /// <returns>A hash code for an object.</returns> public override int GetHashCode() { return(Id.GetHashCode() + Culture.GetHashCode() + ExternalId.GetHashCode() + SeqNum.GetHashCode() + Name.GetHashCode() + DescriptionShort.GetHashCode() + TranslatedFromId.GetHashCode()); }
/// <summary> /// Computes and retrieves a hash code for an object. /// </summary> /// <remarks> /// This method implements the <see cref="Object">Object</see> method. /// </remarks> /// <returns>A hash code for an object.</returns> public override int GetHashCode() { return (TenantId.GetHashCode() + CreatorUserId.GetHashCode() + CreationTime.GetHashCode() + Name.GetHashCode() + DescriptionFull.GetHashCode() + DescriptionShort.GetHashCode() + LastModifierUserId.GetHashCode() + LastModificationTime.GetHashCode() + DeletionTime.GetHashCode() + DeleterUserId.GetHashCode() ); }
/// <summary> /// Computes and retrieves a hash code for an object. /// </summary> /// <remarks> /// This method implements the <see cref="Object">Object</see> method. /// </remarks> /// <returns>A hash code for an object.</returns> public override int GetHashCode() { return(Id.GetHashCode() + Culture.GetHashCode() + Name.GetHashCode() + DescriptionShort.GetHashCode() + CreatorUserName.GetHashCode() + LastModifierUserName.GetHashCode()); }