public bool Equals(AddLineToPurchaseOrder other) { if (ReferenceEquals(null, other)) { return(false); } if (ReferenceEquals(this, other)) { return(true); } return(other.LineId.Equals(LineId)); }
public bool Equals(AddLineToPurchaseOrder other) { if (ReferenceEquals(null, other)) return false; if (ReferenceEquals(this, other)) return true; return other.LineId.Equals(LineId); }