Exemple #1
0
        public IListExpression <TRequest, TEntity, TResult> Rows(string name, Action <IRowsExpression> action = null)
        {
            var expression = new RowsExpression <TRequest, TResult>(name);

            action?.Invoke(expression);
            RowsDefinition = expression;
            return(this);
        }
Exemple #2
0
        public IListExpression <TRequest, TEntity, TResult> Rows(int?defaultValue = null)
        {
            var expression = new RowsExpression <TRequest, TResult>();

            ((IRowsExpression)expression).DefaultValue(defaultValue);
            RowsDefinition = expression;
            return(this);
        }
Exemple #3
0
        public IListExpression <TRequest, TEntity, TResult> Rows(Expression <Func <TRequest, int> > property, Action <IRowsExpression <TRequest, TResult> > action = null)
        {
            var expression = new RowsExpression <TRequest, TResult>(property);

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