Share via


EntityQueryModelVisitor.ReplaceClauseReferences Method

Definition

Translates a re-linq query model expression into a compiled query expression.

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

Parameters

expression
Expression

The re-linq query model expression.

querySource
Remotion.Linq.Clauses.IQuerySource

The query source.

inProjection
Boolean

True when the expression is a projector.

Returns

A compiled query expression fragment.

Applies to