Ejemplo n.º 1
0
        protected internal virtual IList <Batch> executePaginatedQuery(BatchQuery query, int?firstResult, int?maxResults)
        {
            if (firstResult == null)
            {
                firstResult = 0;
            }
            if (maxResults == null)
            {
                maxResults = int.MaxValue;
            }

            return(query.listPage(firstResult, maxResults));
        }