RuntimeModelConvention.QueryRootRewritingExpressionVisitor.Rewrite Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.
Entity Framework