RelationalQueryFilterRewritingConvention 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.
Convention that converts accesses of DbSet<TEntity> inside query filters into EntityQueryRootExpression. This makes them consistent with how DbSet accesses in the actual queries are represented, which allows for easier processing in the query pipeline.
public class RelationalQueryFilterRewritingConvention : Microsoft.EntityFrameworkCore.Metadata.Conventions.QueryFilterRewritingConvention
type RelationalQueryFilterRewritingConvention = class
inherit QueryFilterRewritingConvention
Public Class RelationalQueryFilterRewritingConvention
Inherits QueryFilterRewritingConvention
- Inheritance
Constructors
RelationalQueryFilterRewritingConvention(ProviderConventionSetBuilderDependencies, RelationalConventionSetBuilderDependencies) |
Creates a new instance of RelationalQueryFilterRewritingConvention. |
Properties
DbSetAccessRewriter |
Visitor used to rewrite DbSet<TEntity> accesses encountered in query filters to EntityQueryRootExpression. (Inherited from QueryFilterRewritingConvention) |
Dependencies |
Dependencies for this service. (Inherited from QueryFilterRewritingConvention) |
RelationalDependencies |
Relational provider-specific dependencies for this service. |
Methods
ProcessModelFinalizing(IConventionModelBuilder, IConventionContext<IConventionModelBuilder>) |
Called when a model is being finalized. |
Applies to
Entity Framework