共用方式為


SelectExpression.ReplaceProjectionMapping 方法

定義

警告

Use ReplaceProjection method instead.

以新的投影來取代目前的投影對應,以變更從這個 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))

參數

projectionMapping
IDictionary<ProjectionMember,Expression>

新的投影對應。

屬性

適用於