语言

RelationalQueryTranslationPreprocessor 类

定义

在翻译之前预处理查询的类。

此类型通常由数据库提供程序(和其他扩展)使用。 它通常不用于应用程序代码。

[System.Runtime.CompilerServices.Nullable(0)]
public class RelationalQueryTranslationPreprocessor : Microsoft.EntityFrameworkCore.Query.QueryTranslationPreprocessor
public class RelationalQueryTranslationPreprocessor : Microsoft.EntityFrameworkCore.Query.QueryTranslationPreprocessor
[<System.Runtime.CompilerServices.Nullable(0)>]
type RelationalQueryTranslationPreprocessor = class
    inherit QueryTranslationPreprocessor
type RelationalQueryTranslationPreprocessor = class
    inherit QueryTranslationPreprocessor
Public Class RelationalQueryTranslationPreprocessor
Inherits QueryTranslationPreprocessor
继承
RelationalQueryTranslationPreprocessor
特性

构造函数

名称 说明
RelationalQueryTranslationPreprocessor(QueryTranslationPreprocessorDependencies, RelationalQueryTranslationPreprocessorDependencies, QueryCompilationContext)

创建类的新实例 QueryTranslationPreprocessor 。

属性

名称 说明
Dependencies

此服务的依赖项。

(继承自 QueryTranslationPreprocessor)
IsEfConstantSupported

一个值,该值指示“EF”。常量在查询后处理中得到适当处理。

QueryCompilationContext

当前编译的查询编译上下文对象。

(继承自 QueryTranslationPreprocessor)
RelationalDependencies

此服务的关系提供程序特定的依赖项。

方法

名称 说明
NormalizeQueryableMethod(Expression)

规范化查询中的可查询方法。

Process(Expression)

将预处理转换应用于查询。

Process(Expression)

将预处理转换应用于查询。

(继承自 QueryTranslationPreprocessor)
ProcessQueryRoots(Expression)

向查询添加其他查询根节点。

适用于