private bool FilterIsEmployed(Schema.Match.Match workingOrder) { if (workingOrder.IsEmployed.Employed is Boolean) { return((Boolean)workingOrder.IsEmployed.Employed); } return(false); }
private bool FilterCreditCardBalance(Schema.Match.Match workingOrder) { Decimal accountBalance = 0; if (workingOrder.CreditCardBalance.Balance != null) { accountBalance = (Decimal)workingOrder.CreditCardBalance.Balance; } return(accountBalance > this.balanceFilter); }
private bool FilterPostalCode(Schema.Match.Match workingOrder) { String postalCode = workingOrder.PostalCode.Code.ToString(); if (String.IsNullOrEmpty(postalCode)) { return(false); } else { return(postalCode.StartsWith(this.postalCodeFilter)); } }
private Schema.Match.Match MatchSelector(MatchRow matchRow) { Schema.Match.Match match = new Schema.Match.Match(); return(match.Select(matchRow)); }