SelectExpression.ApplyProjection 方法

定义

重载

ApplyProjection()

将表达式从投影映射添加到忽略整形程序表达式的投影中。 仅当在子查询中填充投影时,才应使用此方法。

ApplyProjection(Expression, ResultCardinality, QuerySplittingBehavior)

将表达式从投影映射添加到投影,并为具体化生成更新的整形器表达式。

ApplyProjection()

Source:
SelectExpression.cs
Source:
SelectExpression.cs
Source:
SelectExpression.cs
Source:
SelectExpression.cs
Source:
SelectExpression.cs
Source:
SelectExpression.cs

将表达式从投影映射添加到忽略整形程序表达式的投影中。 仅当在子查询中填充投影时,才应使用此方法。

public void ApplyProjection ();
member this.ApplyProjection : unit -> unit
Public Sub ApplyProjection ()

适用于

ApplyProjection(Expression, ResultCardinality, QuerySplittingBehavior)

Source:
SelectExpression.cs
Source:
SelectExpression.cs
Source:
SelectExpression.cs
Source:
SelectExpression.cs

将表达式从投影映射添加到投影,并为具体化生成更新的整形器表达式。

public System.Linq.Expressions.Expression ApplyProjection (System.Linq.Expressions.Expression shaperExpression, Microsoft.EntityFrameworkCore.Query.ResultCardinality resultCardinality, Microsoft.EntityFrameworkCore.QuerySplittingBehavior querySplittingBehavior);
member this.ApplyProjection : System.Linq.Expressions.Expression * Microsoft.EntityFrameworkCore.Query.ResultCardinality * Microsoft.EntityFrameworkCore.QuerySplittingBehavior -> System.Linq.Expressions.Expression
Public Function ApplyProjection (shaperExpression As Expression, resultCardinality As ResultCardinality, querySplittingBehavior As QuerySplittingBehavior) As Expression

参数

shaperExpression
Expression

将调整此选择表达式的结果的当前整形程序表达式。

resultCardinality
ResultCardinality

此查询表达式的结果基数。

querySplittingBehavior
QuerySplittingBehavior

对嵌套集合应用投影时使用的查询拆分行为。

返回

返回此选择表达式的形状结果的修改整形器表达式。

适用于