SelectExpression.ReplaceProjection 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
ReplaceProjection(IReadOnlyList<Expression>) |
Replaces current projection mapping with a new one to change what is being projected out from this SelectExpression. |
ReplaceProjection(IReadOnlyDictionary<ProjectionMember,Expression>) |
Replaces current projection mapping with a new one to change what is being projected out from this SelectExpression. |
ReplaceProjection(IReadOnlyList<Expression>)
Replaces current projection mapping with a new one to change what is being projected out from this SelectExpression.
public void ReplaceProjection (System.Collections.Generic.IReadOnlyList<System.Linq.Expressions.Expression> clientProjections);
member this.ReplaceProjection : System.Collections.Generic.IReadOnlyList<System.Linq.Expressions.Expression> -> unit
Public Sub ReplaceProjection (clientProjections As IReadOnlyList(Of Expression))
Parameters
- clientProjections
- IReadOnlyList<Expression>
A new projection mapping.
Applies to
ReplaceProjection(IReadOnlyDictionary<ProjectionMember,Expression>)
Replaces current projection mapping with a new one to change what is being projected out from this SelectExpression.
public void ReplaceProjection (System.Collections.Generic.IReadOnlyDictionary<Microsoft.EntityFrameworkCore.Query.ProjectionMember,System.Linq.Expressions.Expression> projectionMapping);
member this.ReplaceProjection : System.Collections.Generic.IReadOnlyDictionary<Microsoft.EntityFrameworkCore.Query.ProjectionMember, System.Linq.Expressions.Expression> -> unit
Public Sub ReplaceProjection (projectionMapping As IReadOnlyDictionary(Of ProjectionMember, Expression))
Parameters
- projectionMapping
- IReadOnlyDictionary<ProjectionMember,Expression>
A new projection mapping.
Applies to
Entity Framework