Share via


SelectExpression.ReplaceProjectionMapping Method

Definition

Caution

Use ReplaceProjection method instead.

Replaces current projection mapping with a new one to change what is being projected out from this SelectExpression.

public void ReplaceProjectionMapping (System.Collections.Generic.IDictionary<Microsoft.EntityFrameworkCore.Query.ProjectionMember,System.Linq.Expressions.Expression> projectionMapping);
[System.Obsolete("Use ReplaceProjection method instead.")]
public void ReplaceProjectionMapping (System.Collections.Generic.IDictionary<Microsoft.EntityFrameworkCore.Query.ProjectionMember,System.Linq.Expressions.Expression> projectionMapping);
member this.ReplaceProjectionMapping : System.Collections.Generic.IDictionary<Microsoft.EntityFrameworkCore.Query.ProjectionMember, System.Linq.Expressions.Expression> -> unit
[<System.Obsolete("Use ReplaceProjection method instead.")>]
member this.ReplaceProjectionMapping : System.Collections.Generic.IDictionary<Microsoft.EntityFrameworkCore.Query.ProjectionMember, System.Linq.Expressions.Expression> -> unit
Public Sub ReplaceProjectionMapping (projectionMapping As IDictionary(Of ProjectionMember, Expression))

Parameters

projectionMapping
IDictionary<ProjectionMember,Expression>

A new projection mapping.

Attributes

Applies to