Ejemplo n.º 1
0
        public IListExpression <TRequest, TEntity, TResult> Page(int?defaultValue = null)
        {
            var expression = new PageExpression <TRequest, TResult>(defaultValue);

            PageDefinition = expression;
            return(this);
        }
Ejemplo n.º 2
0
        public IListExpression <TRequest, TEntity, TResult> Page(string name, Action <IPageExpression> action = null)
        {
            var expression = new PageExpression <TRequest, TResult>(name);

            action?.Invoke(expression);
            PageDefinition = expression;
            return(this);
        }
Ejemplo n.º 3
0
        public IListExpression <TRequest, TEntity, TResult> Page(Expression <Func <TRequest, int> > property, Action <IPageExpression <TRequest, TResult> > action = null)
        {
            var expression = new PageExpression <TRequest, TResult>(property);

            action?.Invoke(expression);
            PageDefinition = expression;
            return(this);
        }