EntityQueryModelVisitor.ReplaceClauseReferences 方法

定义

将 re-linq 查询模型表达式转换为已编译的查询表达式。

public virtual System.Linq.Expressions.Expression ReplaceClauseReferences (System.Linq.Expressions.Expression expression, Remotion.Linq.Clauses.IQuerySource querySource = default, bool inProjection = false);
abstract member ReplaceClauseReferences : System.Linq.Expressions.Expression * Remotion.Linq.Clauses.IQuerySource * bool -> System.Linq.Expressions.Expression
override this.ReplaceClauseReferences : System.Linq.Expressions.Expression * Remotion.Linq.Clauses.IQuerySource * bool -> System.Linq.Expressions.Expression
Public Overridable Function ReplaceClauseReferences (expression As Expression, Optional querySource As IQuerySource = Nothing, Optional inProjection As Boolean = false) As Expression

参数

expression
Expression

re-linq 查询模型表达式。

querySource
Remotion.Linq.Clauses.IQuerySource

查询源。

inProjection
Boolean

如果表达式为投影仪,则为 True。

返回

已编译的查询表达式片段。

适用于