RelationalQueryableMethodTranslatingExpressionVisitor.TranslateSelectMany 方法

定义

重载

TranslateSelectMany(ShapedQueryExpression, LambdaExpression)

SelectMany<TSource,TResult>(IQueryable<TSource>, Expression<Func<TSource,IEnumerable<TResult>>>)转换给定源上的方法。

TranslateSelectMany(ShapedQueryExpression, LambdaExpression, LambdaExpression)

SelectMany<TSource,TCollection,TResult>(IQueryable<TSource>, Expression<Func<TSource, IEnumerable<TCollection>>>, Expression<Func<TSource,TCollection, TResult>>)转换给定源上的方法。

TranslateSelectMany(ShapedQueryExpression, LambdaExpression)

protected override Microsoft.EntityFrameworkCore.Query.ShapedQueryExpression TranslateSelectMany (Microsoft.EntityFrameworkCore.Query.ShapedQueryExpression source, System.Linq.Expressions.LambdaExpression selector);
protected override Microsoft.EntityFrameworkCore.Query.ShapedQueryExpression? TranslateSelectMany (Microsoft.EntityFrameworkCore.Query.ShapedQueryExpression source, System.Linq.Expressions.LambdaExpression selector);
override this.TranslateSelectMany : Microsoft.EntityFrameworkCore.Query.ShapedQueryExpression * System.Linq.Expressions.LambdaExpression -> Microsoft.EntityFrameworkCore.Query.ShapedQueryExpression
Protected Overrides Function TranslateSelectMany (source As ShapedQueryExpression, selector As LambdaExpression) As ShapedQueryExpression

参数

source
ShapedQueryExpression

应用运算符的形状查询。

selector
LambdaExpression

调用中提供的选择器。

返回

转换后的形状查询。

适用于

TranslateSelectMany(ShapedQueryExpression, LambdaExpression, LambdaExpression)

protected override Microsoft.EntityFrameworkCore.Query.ShapedQueryExpression TranslateSelectMany (Microsoft.EntityFrameworkCore.Query.ShapedQueryExpression source, System.Linq.Expressions.LambdaExpression collectionSelector, System.Linq.Expressions.LambdaExpression resultSelector);
protected override Microsoft.EntityFrameworkCore.Query.ShapedQueryExpression? TranslateSelectMany (Microsoft.EntityFrameworkCore.Query.ShapedQueryExpression source, System.Linq.Expressions.LambdaExpression collectionSelector, System.Linq.Expressions.LambdaExpression resultSelector);
override this.TranslateSelectMany : Microsoft.EntityFrameworkCore.Query.ShapedQueryExpression * System.Linq.Expressions.LambdaExpression * System.Linq.Expressions.LambdaExpression -> Microsoft.EntityFrameworkCore.Query.ShapedQueryExpression
Protected Overrides Function TranslateSelectMany (source As ShapedQueryExpression, collectionSelector As LambdaExpression, resultSelector As LambdaExpression) As ShapedQueryExpression

参数

source
ShapedQueryExpression

应用运算符的形状查询。

collectionSelector
LambdaExpression

调用中提供的集合选择器。

resultSelector
LambdaExpression

调用中提供的结果选择器。

返回

转换后的形状查询。

适用于