共用方式為


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

呼叫中提供的結果選取器。

傳回

翻譯後的成形查詢。

適用於