语言

QuerySqlGenerator.GetCommand 方法

定义

重载

名称 说明
GetCommand(SelectExpression)

获取一个 SelectExpression关系命令。

GetCommand(Expression)

获取查询表达式的关系命令。

GetCommand(SelectExpression)

Source:
QuerySqlGenerator.cs
Source:
QuerySqlGenerator.cs
Source:
QuerySqlGenerator.cs
Source:
QuerySqlGenerator.cs

获取一个 SelectExpression关系命令。

public virtual Microsoft.EntityFrameworkCore.Storage.IRelationalCommand GetCommand(Microsoft.EntityFrameworkCore.Query.SqlExpressions.SelectExpression selectExpression);
abstract member GetCommand : Microsoft.EntityFrameworkCore.Query.SqlExpressions.SelectExpression -> Microsoft.EntityFrameworkCore.Storage.IRelationalCommand
override this.GetCommand : Microsoft.EntityFrameworkCore.Query.SqlExpressions.SelectExpression -> Microsoft.EntityFrameworkCore.Storage.IRelationalCommand
Public Overridable Function GetCommand (selectExpression As SelectExpression) As IRelationalCommand

参数

selectExpression
SelectExpression

在命令文本中打印的选择表达式。

返回

具有由选择表达式表示的 SQL 的关系命令。

适用于

GetCommand(Expression)

Source:
QuerySqlGenerator.cs
Source:
QuerySqlGenerator.cs
Source:
QuerySqlGenerator.cs
Source:
QuerySqlGenerator.cs
Source:
QuerySqlGenerator.cs

获取查询表达式的关系命令。

public virtual Microsoft.EntityFrameworkCore.Storage.IRelationalCommand GetCommand(System.Linq.Expressions.Expression queryExpression);
abstract member GetCommand : System.Linq.Expressions.Expression -> Microsoft.EntityFrameworkCore.Storage.IRelationalCommand
override this.GetCommand : System.Linq.Expressions.Expression -> Microsoft.EntityFrameworkCore.Storage.IRelationalCommand
Public Overridable Function GetCommand (queryExpression As Expression) As IRelationalCommand

参数

queryExpression
Expression

用于在命令文本中打印的查询表达式。

返回

具有由查询表达式表示的 SQL 的关系命令。

适用于