public virtual bool Equals(OtherIncomeItem other) { if (ReferenceEquals(null, other)) return false; if (ReferenceEquals(this, other)) return true; return other.Id == Id && Equals(other.Name, Name) && other.Amount.Equals(Amount); }