Пример #1
0
        private bool FilterIsEmployed(Schema.Match.Match workingOrder)
        {
            if (workingOrder.IsEmployed.Employed is Boolean)
            {
                return((Boolean)workingOrder.IsEmployed.Employed);
            }

            return(false);
        }
Пример #2
0
        private bool FilterCreditCardBalance(Schema.Match.Match workingOrder)
        {
            Decimal accountBalance = 0;

            if (workingOrder.CreditCardBalance.Balance != null)
            {
                accountBalance = (Decimal)workingOrder.CreditCardBalance.Balance;
            }

            return(accountBalance > this.balanceFilter);
        }
Пример #3
0
        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));
            }
        }
Пример #4
0
 private Schema.Match.Match MatchSelector(MatchRow matchRow)
 {
     Schema.Match.Match match = new Schema.Match.Match();
     return(match.Select(matchRow));
 }