SelectExpression.ReplaceProjection 方法

定义

重载

ReplaceProjection(IReadOnlyDictionary<ProjectionMember,Expression>)

将当前投影映射替换为新的投影映射,以更改从此 SelectExpression投影的内容。

ReplaceProjection(IReadOnlyList<Expression>)

将当前投影映射替换为新的投影映射,以更改从此 SelectExpression投影的内容。

ReplaceProjection(IReadOnlyDictionary<ProjectionMember,Expression>)

Source:
SelectExpression.cs
Source:
SelectExpression.cs
Source:
SelectExpression.cs
Source:
SelectExpression.cs

将当前投影映射替换为新的投影映射,以更改从此 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))

参数

projectionMapping
IReadOnlyDictionary<ProjectionMember,Expression>

新的投影映射。

适用于

ReplaceProjection(IReadOnlyList<Expression>)

Source:
SelectExpression.cs
Source:
SelectExpression.cs
Source:
SelectExpression.cs
Source:
SelectExpression.cs

将当前投影映射替换为新的投影映射,以更改从此 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))

参数

clientProjections
IReadOnlyList<Expression>

新的投影映射。

适用于