public override bool Equals(object obj) { if (obj == null) { return(false); } if (obj is System.DBNull) { return(false); } Annotation comment = (Annotation)obj; if (!(UtilityEquals.StringEquals(this.Comment, comment.Comment))) { return(false); } if (!(UtilityEquals.StringEquals(this._userId, comment._userId))) { return(false); } return(true); }