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); }
public IListExpression <TRequest, TEntity, TResult> Rows(int?defaultValue = null) { var expression = new RowsExpression <TRequest, TResult>(); ((IRowsExpression)expression).DefaultValue(defaultValue); RowsDefinition = expression; return(this); }
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); }