RelationalSqlTranslatingExpressionVisitor 构造函数

定义

重载

RelationalSqlTranslatingExpressionVisitor(RelationalSqlTranslatingExpressionVisitorDependencies, IModel, QueryableMethodTranslatingExpressionVisitor)
RelationalSqlTranslatingExpressionVisitor(RelationalSqlTranslatingExpressionVisitorDependencies, QueryCompilationContext, QueryableMethodTranslatingExpressionVisitor)

创建 RelationalSqlTranslatingExpressionVisitor 类的新实例。

RelationalSqlTranslatingExpressionVisitor(RelationalSqlTranslatingExpressionVisitorDependencies, IModel, QueryableMethodTranslatingExpressionVisitor)

public RelationalSqlTranslatingExpressionVisitor (Microsoft.EntityFrameworkCore.Query.RelationalSqlTranslatingExpressionVisitorDependencies dependencies, Microsoft.EntityFrameworkCore.Metadata.IModel model, Microsoft.EntityFrameworkCore.Query.QueryableMethodTranslatingExpressionVisitor queryableMethodTranslatingExpressionVisitor);
new Microsoft.EntityFrameworkCore.Query.RelationalSqlTranslatingExpressionVisitor : Microsoft.EntityFrameworkCore.Query.RelationalSqlTranslatingExpressionVisitorDependencies * Microsoft.EntityFrameworkCore.Metadata.IModel * Microsoft.EntityFrameworkCore.Query.QueryableMethodTranslatingExpressionVisitor -> Microsoft.EntityFrameworkCore.Query.RelationalSqlTranslatingExpressionVisitor
Public Sub New (dependencies As RelationalSqlTranslatingExpressionVisitorDependencies, model As IModel, queryableMethodTranslatingExpressionVisitor As QueryableMethodTranslatingExpressionVisitor)

参数

model
IModel
queryableMethodTranslatingExpressionVisitor
QueryableMethodTranslatingExpressionVisitor

适用于

RelationalSqlTranslatingExpressionVisitor(RelationalSqlTranslatingExpressionVisitorDependencies, QueryCompilationContext, QueryableMethodTranslatingExpressionVisitor)

创建 RelationalSqlTranslatingExpressionVisitor 类的新实例。

public RelationalSqlTranslatingExpressionVisitor (Microsoft.EntityFrameworkCore.Query.RelationalSqlTranslatingExpressionVisitorDependencies dependencies, Microsoft.EntityFrameworkCore.Query.QueryCompilationContext queryCompilationContext, Microsoft.EntityFrameworkCore.Query.QueryableMethodTranslatingExpressionVisitor queryableMethodTranslatingExpressionVisitor);
new Microsoft.EntityFrameworkCore.Query.RelationalSqlTranslatingExpressionVisitor : Microsoft.EntityFrameworkCore.Query.RelationalSqlTranslatingExpressionVisitorDependencies * Microsoft.EntityFrameworkCore.Query.QueryCompilationContext * Microsoft.EntityFrameworkCore.Query.QueryableMethodTranslatingExpressionVisitor -> Microsoft.EntityFrameworkCore.Query.RelationalSqlTranslatingExpressionVisitor
Public Sub New (dependencies As RelationalSqlTranslatingExpressionVisitorDependencies, queryCompilationContext As QueryCompilationContext, queryableMethodTranslatingExpressionVisitor As QueryableMethodTranslatingExpressionVisitor)

参数

dependencies
RelationalSqlTranslatingExpressionVisitorDependencies

包含此类依赖项的参数对象。

queryCompilationContext
QueryCompilationContext

要使用的查询编译上下文对象。

queryableMethodTranslatingExpressionVisitor
QueryableMethodTranslatingExpressionVisitor

可转换表达式访问者以转换子查询的父可查询方法。

适用于