EntityQueryModelVisitor 构造函数
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
重载
EntityQueryModelVisitor(EntityQueryModelVisitorDependencies, QueryCompilationContext)
初始化 EntityQueryModelVisitor 类的新实例。
protected EntityQueryModelVisitor (Microsoft.EntityFrameworkCore.Query.EntityQueryModelVisitorDependencies dependencies, Microsoft.EntityFrameworkCore.Query.QueryCompilationContext queryCompilationContext);
new Microsoft.EntityFrameworkCore.Query.EntityQueryModelVisitor : Microsoft.EntityFrameworkCore.Query.EntityQueryModelVisitorDependencies * Microsoft.EntityFrameworkCore.Query.QueryCompilationContext -> Microsoft.EntityFrameworkCore.Query.EntityQueryModelVisitor
Protected Sub New (dependencies As EntityQueryModelVisitorDependencies, queryCompilationContext As QueryCompilationContext)
参数
- dependencies
- EntityQueryModelVisitorDependencies
包含此服务的依赖项的参数对象。
- queryCompilationContext
- QueryCompilationContext
处理 QueryCompilationContext 查询时要使用的 。
适用于
EntityQueryModelVisitor(IQueryOptimizer, INavigationRewritingExpressionVisitorFactory, ISubQueryMemberPushDownExpressionVisitor, IQuerySourceTracingExpressionVisitorFactory, IEntityResultFindingExpressionVisitorFactory, ITaskBlockingExpressionVisitor, IMemberAccessBindingExpressionVisitorFactory, IOrderingExpressionVisitorFactory, IProjectionExpressionVisitorFactory, IEntityQueryableExpressionVisitorFactory, IQueryAnnotationExtractor, IResultOperatorHandler, IEntityMaterializerSource, IExpressionPrinter, QueryCompilationContext)
初始化 EntityQueryModelVisitor 类的新实例。
protected EntityQueryModelVisitor (Microsoft.EntityFrameworkCore.Query.Internal.IQueryOptimizer queryOptimizer, Microsoft.EntityFrameworkCore.Query.ExpressionVisitors.Internal.INavigationRewritingExpressionVisitorFactory navigationRewritingExpressionVisitorFactory, Microsoft.EntityFrameworkCore.Query.ExpressionVisitors.Internal.ISubQueryMemberPushDownExpressionVisitor subQueryMemberPushDownExpressionVisitor, Microsoft.EntityFrameworkCore.Query.ExpressionVisitors.Internal.IQuerySourceTracingExpressionVisitorFactory querySourceTracingExpressionVisitorFactory, Microsoft.EntityFrameworkCore.Query.ExpressionVisitors.Internal.IEntityResultFindingExpressionVisitorFactory entityResultFindingExpressionVisitorFactory, Microsoft.EntityFrameworkCore.Query.ExpressionVisitors.Internal.ITaskBlockingExpressionVisitor taskBlockingExpressionVisitor, Microsoft.EntityFrameworkCore.Query.ExpressionVisitors.Internal.IMemberAccessBindingExpressionVisitorFactory memberAccessBindingExpressionVisitorFactory, Microsoft.EntityFrameworkCore.Query.ExpressionVisitors.Internal.IOrderingExpressionVisitorFactory orderingExpressionVisitorFactory, Microsoft.EntityFrameworkCore.Query.ExpressionVisitors.IProjectionExpressionVisitorFactory projectionExpressionVisitorFactory, Microsoft.EntityFrameworkCore.Query.ExpressionVisitors.IEntityQueryableExpressionVisitorFactory entityQueryableExpressionVisitorFactory, Microsoft.EntityFrameworkCore.Query.Internal.IQueryAnnotationExtractor queryAnnotationExtractor, Microsoft.EntityFrameworkCore.Query.IResultOperatorHandler resultOperatorHandler, Microsoft.EntityFrameworkCore.Metadata.Internal.IEntityMaterializerSource entityMaterializerSource, Microsoft.EntityFrameworkCore.Query.Internal.IExpressionPrinter expressionPrinter, Microsoft.EntityFrameworkCore.Query.QueryCompilationContext queryCompilationContext);
new Microsoft.EntityFrameworkCore.Query.EntityQueryModelVisitor : Microsoft.EntityFrameworkCore.Query.Internal.IQueryOptimizer * Microsoft.EntityFrameworkCore.Query.ExpressionVisitors.Internal.INavigationRewritingExpressionVisitorFactory * Microsoft.EntityFrameworkCore.Query.ExpressionVisitors.Internal.ISubQueryMemberPushDownExpressionVisitor * Microsoft.EntityFrameworkCore.Query.ExpressionVisitors.Internal.IQuerySourceTracingExpressionVisitorFactory * Microsoft.EntityFrameworkCore.Query.ExpressionVisitors.Internal.IEntityResultFindingExpressionVisitorFactory * Microsoft.EntityFrameworkCore.Query.ExpressionVisitors.Internal.ITaskBlockingExpressionVisitor * Microsoft.EntityFrameworkCore.Query.ExpressionVisitors.Internal.IMemberAccessBindingExpressionVisitorFactory * Microsoft.EntityFrameworkCore.Query.ExpressionVisitors.Internal.IOrderingExpressionVisitorFactory * Microsoft.EntityFrameworkCore.Query.ExpressionVisitors.IProjectionExpressionVisitorFactory * Microsoft.EntityFrameworkCore.Query.ExpressionVisitors.IEntityQueryableExpressionVisitorFactory * Microsoft.EntityFrameworkCore.Query.Internal.IQueryAnnotationExtractor * Microsoft.EntityFrameworkCore.Query.IResultOperatorHandler * Microsoft.EntityFrameworkCore.Metadata.Internal.IEntityMaterializerSource * Microsoft.EntityFrameworkCore.Query.Internal.IExpressionPrinter * Microsoft.EntityFrameworkCore.Query.QueryCompilationContext -> Microsoft.EntityFrameworkCore.Query.EntityQueryModelVisitor
Protected Sub New (queryOptimizer As IQueryOptimizer, navigationRewritingExpressionVisitorFactory As INavigationRewritingExpressionVisitorFactory, subQueryMemberPushDownExpressionVisitor As ISubQueryMemberPushDownExpressionVisitor, querySourceTracingExpressionVisitorFactory As IQuerySourceTracingExpressionVisitorFactory, entityResultFindingExpressionVisitorFactory As IEntityResultFindingExpressionVisitorFactory, taskBlockingExpressionVisitor As ITaskBlockingExpressionVisitor, memberAccessBindingExpressionVisitorFactory As IMemberAccessBindingExpressionVisitorFactory, orderingExpressionVisitorFactory As IOrderingExpressionVisitorFactory, projectionExpressionVisitorFactory As IProjectionExpressionVisitorFactory, entityQueryableExpressionVisitorFactory As IEntityQueryableExpressionVisitorFactory, queryAnnotationExtractor As IQueryAnnotationExtractor, resultOperatorHandler As IResultOperatorHandler, entityMaterializerSource As IEntityMaterializerSource, expressionPrinter As IExpressionPrinter, queryCompilationContext As QueryCompilationContext)
参数
- queryOptimizer
- Microsoft.EntityFrameworkCore.Query.Internal.IQueryOptimizer
处理 Microsoft.EntityFrameworkCore.Query.Internal.IQueryOptimizer 查询时要使用的 。
- navigationRewritingExpressionVisitorFactory
- Microsoft.EntityFrameworkCore.Query.ExpressionVisitors.Internal.INavigationRewritingExpressionVisitorFactory
处理 Microsoft.EntityFrameworkCore.Query.ExpressionVisitors.Internal.INavigationRewritingExpressionVisitorFactory 查询时要使用的 。
- subQueryMemberPushDownExpressionVisitor
- Microsoft.EntityFrameworkCore.Query.ExpressionVisitors.Internal.ISubQueryMemberPushDownExpressionVisitor
处理 Microsoft.EntityFrameworkCore.Query.ExpressionVisitors.Internal.ISubQueryMemberPushDownExpressionVisitor 查询时要使用的 。
- querySourceTracingExpressionVisitorFactory
- Microsoft.EntityFrameworkCore.Query.ExpressionVisitors.Internal.IQuerySourceTracingExpressionVisitorFactory
处理 Microsoft.EntityFrameworkCore.Query.ExpressionVisitors.Internal.IQuerySourceTracingExpressionVisitorFactory 查询时要使用的 。
- entityResultFindingExpressionVisitorFactory
- Microsoft.EntityFrameworkCore.Query.ExpressionVisitors.Internal.IEntityResultFindingExpressionVisitorFactory
处理 Microsoft.EntityFrameworkCore.Query.ExpressionVisitors.Internal.IEntityResultFindingExpressionVisitorFactory 查询时要使用的 。
- taskBlockingExpressionVisitor
- Microsoft.EntityFrameworkCore.Query.ExpressionVisitors.Internal.ITaskBlockingExpressionVisitor
处理 Microsoft.EntityFrameworkCore.Query.ExpressionVisitors.Internal.ITaskBlockingExpressionVisitor 查询时要使用的 。
- memberAccessBindingExpressionVisitorFactory
- Microsoft.EntityFrameworkCore.Query.ExpressionVisitors.Internal.IMemberAccessBindingExpressionVisitorFactory
处理 Microsoft.EntityFrameworkCore.Query.ExpressionVisitors.Internal.IMemberAccessBindingExpressionVisitorFactory 查询时要使用的 。
- orderingExpressionVisitorFactory
- Microsoft.EntityFrameworkCore.Query.ExpressionVisitors.Internal.IOrderingExpressionVisitorFactory
处理 Microsoft.EntityFrameworkCore.Query.ExpressionVisitors.Internal.IOrderingExpressionVisitorFactory 查询时要使用的 。
- projectionExpressionVisitorFactory
- IProjectionExpressionVisitorFactory
处理 IProjectionExpressionVisitorFactory 查询时要使用的 。
- entityQueryableExpressionVisitorFactory
- IEntityQueryableExpressionVisitorFactory
处理 IEntityQueryableExpressionVisitorFactory 查询时要使用的 。
- queryAnnotationExtractor
- Microsoft.EntityFrameworkCore.Query.Internal.IQueryAnnotationExtractor
处理 Microsoft.EntityFrameworkCore.Query.Internal.IQueryAnnotationExtractor 查询时要使用的 。
- resultOperatorHandler
- IResultOperatorHandler
处理 IResultOperatorHandler 查询时要使用的 。
- entityMaterializerSource
- Microsoft.EntityFrameworkCore.Metadata.Internal.IEntityMaterializerSource
处理 Microsoft.EntityFrameworkCore.Metadata.Internal.IEntityMaterializerSource 查询时要使用的 。
- expressionPrinter
- Microsoft.EntityFrameworkCore.Query.Internal.IExpressionPrinter
处理 Microsoft.EntityFrameworkCore.Query.Internal.IExpressionPrinter 查询时要使用的 。
- queryCompilationContext
- QueryCompilationContext
处理 QueryCompilationContext 查询时要使用的 。