Ejemplo n.º 1
0
        public override object Visit(PairwiseLikeTerm term)
        {
            if (term.Parameter.PairwiseValueType != PairwiseValueType.String)
            {
                throw new PairwiseException("Can't do a like term against a non-string: " + term.Parameter);
            }

            return(Bracketed(context.LookupName(term.Parameter)) + " LIKE " + Quoted(new PairwiseValue(term.WildcardPattern)));
        }
Ejemplo n.º 2
0
 public abstract object Visit(PairwiseLikeTerm term);