private QueryNode VisitSelectMany(SelectManyNode node, AzureQueryOptimizerState state) { return((QueryNode) new SelectManyNode(this.Visit(node.SourceQuery, new AzureQueryOptimizerState()), node.SourceQueryExpression, node.CollectionSelectorExpression, node.ResultSelectorExpression, node.GetQueryableDelegate)); }
protected virtual void StripSelectMany(SelectManyNode node, ElasticQueryMapperState state) { state.AdditionalQueryMethods.Add(new SelectManyMethod(node.GetSourceQueryable(), node.CollectionSelectorExpression, node.ResultSelectorExpression)); }