public Expression ApplySkipToken(Expression source, OeSkipTokenParser skipTokenParser, String skipToken)
        {
            if (skipToken == null)
            {
                return(source);
            }

            var skipTokenTranslator = new OeSkipTokenTranslator(_visitor, skipTokenParser);

            return(skipTokenTranslator.Build(source, skipToken));
        }
示例#2
0
        public Expression ApplySkipToken(Expression source, OeSkipTokenNameValue[] skipTokenNameValues, OrderByClause uniqueOrderBy, bool isDatabaseNullHighestValue)
        {
            if (skipTokenNameValues == null || skipTokenNameValues.Length == 0)
            {
                return(source);
            }

            var skipTokenTranslator = new OeSkipTokenTranslator(_visitor, isDatabaseNullHighestValue);

            return(skipTokenTranslator.Build(source, skipTokenNameValues, uniqueOrderBy));
        }