SelectExpression.ApplyProjection Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
ApplyProjection() |
Adds expressions from projection mapping to projection ignoring the shaper expression. This method should only be used when populating projection in subquery. |
ApplyProjection(Expression, ResultCardinality, QuerySplittingBehavior) |
Adds expressions from projection mapping to projection and generate updated shaper expression for materialization. |
ApplyProjection()
- Source:
- SelectExpression.cs
- Source:
- SelectExpression.cs
- Source:
- SelectExpression.cs
- Source:
- SelectExpression.cs
- Source:
- SelectExpression.cs
- Source:
- SelectExpression.cs
Adds expressions from projection mapping to projection ignoring the shaper expression. This method should only be used when populating projection in subquery.
public void ApplyProjection ();
member this.ApplyProjection : unit -> unit
Public Sub ApplyProjection ()
Applies to
ApplyProjection(Expression, ResultCardinality, QuerySplittingBehavior)
- Source:
- SelectExpression.cs
- Source:
- SelectExpression.cs
- Source:
- SelectExpression.cs
- Source:
- SelectExpression.cs
Adds expressions from projection mapping to projection and generate updated shaper expression for materialization.
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
Parameters
- shaperExpression
- Expression
Current shaper expression which will shape results of this select expression.
- resultCardinality
- ResultCardinality
The result cardinality of this query expression.
- querySplittingBehavior
- QuerySplittingBehavior
The query splitting behavior to use when applying projection for nested collections.
Returns
Returns modified shaper expression to shape results of this select expression.
Applies to
Entity Framework