Share via


RuntimeModelConvention.QueryRootRewritingExpressionVisitor.Rewrite Method

Definition

Rewrites EntityQueryRootExpression encountered in an expression to use a different entity type.

public System.Linq.Expressions.Expression Rewrite (System.Linq.Expressions.Expression expression);
member this.Rewrite : System.Linq.Expressions.Expression -> System.Linq.Expressions.Expression
Public Function Rewrite (expression As Expression) As Expression

Parameters

expression
Expression

The query expression to rewrite.

Returns

Applies to