Share via


SelectExpression.ReplaceProjection Method

Definition

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