QueryFilterRewritingConvention.DbSetAccessRewritingExpressionVisitor 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.
A visitor that rewrites DbSet accesses encountered in an expression to EntityQueryRootExpression.
protected class QueryFilterRewritingConvention.DbSetAccessRewritingExpressionVisitor : System.Linq.Expressions.ExpressionVisitor
Protected Class QueryFilterRewritingConvention.DbSetAccessRewritingExpressionVisitor
Inherits ExpressionVisitor
- Inheritance
-
QueryFilterRewritingConvention.DbSetAccessRewritingExpressionVisitor
- Derived
Constructors
QueryFilterRewritingConvention.DbSetAccessRewritingExpressionVisitor(Type) |
Creates a new instance of QueryFilterRewritingConvention.DbSetAccessRewritingExpressionVisitor. |
Methods
Rewrite(IModel, Expression) |
Rewrites DbSet accesses encountered in the expression to QueryRootExpression. |
Rewrite(IReadOnlyModel, Expression) |
Rewrites DbSet accesses encountered in the expression to EntityQueryRootExpression. |
VisitMember(MemberExpression) | Visits the children of the MemberExpression. |
VisitMethodCall(MethodCallExpression) | Visits the children of the MethodCallExpression. |
Applies to
Entity Framework