/// <summary> /// Returns a hash code for this instance. /// </summary> /// <returns>An hash code for this instance, suitable for use in hashing algorithms and data structures like a hash table.</returns> public override int GetHashCode() { return(string.Concat("DocListFilteredCriteria", DocID.ToString(), DocClassID.ToString(), DocTypeID.ToString(), SenderID.ToString(), RecipientID.ToString(), DocRef.ToString(), DocDate.ToString(), Subject.ToString(), DocStatusID.ToString(), CreateDate.ToString(), CreateUserID.ToString(), ChangeDate.ToString(), ChangeUserID.ToString()).GetHashCode()); }
/// <summary> /// Returns a string that represents the current <see cref="Doc"/> /// </summary> /// <returns>A <see cref="System.String"/> that represents this instance.</returns> public override string ToString() { // Return the Primary Key as a string return(DocID.ToString() + ", " + DocRef.ToString()); }