ReplacingExpressionVisitor Class
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.
An expression visitor that replaces one expression with another in given expression tree.
This type is typically used by database providers (and other extensions). It is generally not used in application code.
public class ReplacingExpressionVisitor : System.Linq.Expressions.ExpressionVisitor
type ReplacingExpressionVisitor = class
inherit ExpressionVisitor
Public Class ReplacingExpressionVisitor
Inherits ExpressionVisitor
- Inheritance
-
ReplacingExpressionVisitor
Remarks
See Implementation of database providers and extensions and How EF Core queries work for more information and examples.
Constructors
Methods
Replace(Expression, Expression, Expression) |
Replaces one expression with another in given expression tree. |
Replace(IReadOnlyList<Expression>, IReadOnlyList<Expression>, Expression) |
Replaces one expression with another in given expression tree. |
Visit(Expression) | Dispatches the expression to one of the more specialized visit methods in this class. |
VisitMember(MemberExpression) | Visits the children of the MemberExpression. |
VisitMethodCall(MethodCallExpression) | Visits the children of the MethodCallExpression. |
Applies to
Entity Framework