예제 #1
0
 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);
 }
예제 #2
0
 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));
 }
예제 #3
0
 public bool Equals(TransactionItem obj)
 {
     return(TransactionDate.Equals(obj.TransactionDate) && Amount.Equals(obj.Amount) &&
            Description.Equals(obj.Description));
 }