IRelationalSqlTranslatingExpressionVisitorFactory.Create 方法

定义

重载

Create(IModel, QueryableMethodTranslatingExpressionVisitor)
Create(QueryCompilationContext, QueryableMethodTranslatingExpressionVisitor)

创建一个新的 RelationalSqlTranslatingExpressionVisitor

Create(IModel, QueryableMethodTranslatingExpressionVisitor)

public Microsoft.EntityFrameworkCore.Query.RelationalSqlTranslatingExpressionVisitor Create (Microsoft.EntityFrameworkCore.Metadata.IModel model, Microsoft.EntityFrameworkCore.Query.QueryableMethodTranslatingExpressionVisitor queryableMethodTranslatingExpressionVisitor);
abstract member Create : Microsoft.EntityFrameworkCore.Metadata.IModel * Microsoft.EntityFrameworkCore.Query.QueryableMethodTranslatingExpressionVisitor -> Microsoft.EntityFrameworkCore.Query.RelationalSqlTranslatingExpressionVisitor
Public Function Create (model As IModel, queryableMethodTranslatingExpressionVisitor As QueryableMethodTranslatingExpressionVisitor) As RelationalSqlTranslatingExpressionVisitor

参数

model
IModel
queryableMethodTranslatingExpressionVisitor
QueryableMethodTranslatingExpressionVisitor

返回

适用于

Create(QueryCompilationContext, QueryableMethodTranslatingExpressionVisitor)

Source:
IRelationalSqlTranslatingExpressionVisitorFactory.cs
Source:
IRelationalSqlTranslatingExpressionVisitorFactory.cs
Source:
IRelationalSqlTranslatingExpressionVisitorFactory.cs
public Microsoft.EntityFrameworkCore.Query.RelationalSqlTranslatingExpressionVisitor Create (Microsoft.EntityFrameworkCore.Query.QueryCompilationContext queryCompilationContext, Microsoft.EntityFrameworkCore.Query.QueryableMethodTranslatingExpressionVisitor queryableMethodTranslatingExpressionVisitor);
abstract member Create : Microsoft.EntityFrameworkCore.Query.QueryCompilationContext * Microsoft.EntityFrameworkCore.Query.QueryableMethodTranslatingExpressionVisitor -> Microsoft.EntityFrameworkCore.Query.RelationalSqlTranslatingExpressionVisitor
Public Function Create (queryCompilationContext As QueryCompilationContext, queryableMethodTranslatingExpressionVisitor As QueryableMethodTranslatingExpressionVisitor) As RelationalSqlTranslatingExpressionVisitor

参数

queryCompilationContext
QueryCompilationContext

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

queryableMethodTranslatingExpressionVisitor
QueryableMethodTranslatingExpressionVisitor

用于翻译子查询的访问者。

返回

关系 sql 转换表达式访问者。

适用于