Share via


QueryFilterRewritingConvention.DbSetAccessRewritingExpressionVisitor Class

Definition

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