Example #1
0
 public bool Equals(Transaction other)
 {
     return EffectiveDate == other.EffectiveDate
         && Description   == other.Description
         && Amount        == other.Amount
         && IsPending     == other.IsPending;
 }
Example #2
0
 bool AlreadyExists(IEnumerable<Transaction> list, Transaction transaction)
 {
     return list.Any(y => y.Equals(transaction));
 }
Example #3
0
 private void DetachTransactions(Transaction entity)
 {
     FirePropertyChanging();
     entity.Account = null;
 }
Example #4
0
 bool IsInternal(Transaction trans)
 {
     var match = Regex.Match(trans.Description, @"Transfer (from|to) xx(?<digits>\d+) NetBank");
     return match.Success;
 }
Example #5
0
 private void AttachTransactions(Transaction entity)
 {
     FirePropertyChanging();
     entity.Account = this;
 }