語言

QuerySqlGenerator.GetCommand 方法

定義

多載

名稱 Description
GetCommand(SelectExpression)

會收到一個關聯指令。SelectExpression

GetCommand(Expression)

會收到一個查詢表達式的關聯指令。

GetCommand(SelectExpression)

來源:
QuerySqlGenerator.cs
來源:
QuerySqlGenerator.cs
來源:
QuerySqlGenerator.cs
來源:
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

一個用來列印命令文字的選擇表達式。

傳回

一個關聯式指令,並以 select 表達式表示 SQL 表示。

適用於

GetCommand(Expression)

來源:
QuerySqlGenerator.cs
來源:
QuerySqlGenerator.cs
來源:
QuerySqlGenerator.cs
來源:
QuerySqlGenerator.cs
來源:
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 表示。

適用於