protected bool Equals(Transaction other) { return(Id == other.Id && TransactionDate.Equals(other.TransactionDate) && Created.Equals(other.Created) && string.Equals(Payee, other.Payee) && string.Equals(Reference, other.Reference) && Amount == other.Amount); }
protected bool Equals(Transaction other) { return(lines.SequenceEqual(other.lines) && string.Equals(Id, other.Id) && TransactionDate.Equals(other.TransactionDate) && string.Equals(Username, other.Username) && string.Equals(Description, other.Description) && string.Equals(TransactionType, other.TransactionType)); }
public bool Equals(TransactionItem obj) { return(TransactionDate.Equals(obj.TransactionDate) && Amount.Equals(obj.Amount) && Description.Equals(obj.Description)); }