Freigeben über


QuerySqlGenerator.GetCommand Methode

Definition

Überlädt

GetCommand(SelectExpression)

Ruft einen relationalen Befehl für einen ab SelectExpression.

GetCommand(Expression)

Ruft einen relationalen Befehl für einen Abfrageausdruck ab.

GetCommand(SelectExpression)

Ruft einen relationalen Befehl für einen ab 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

Parameter

selectExpression
SelectExpression

Ein Select-Ausdruck, der im Befehlstext gedruckt werden soll.

Gibt zurück

Ein relationaler Befehl mit einem SQL-Befehl, der durch den select-Ausdruck dargestellt wird.

Gilt für:

GetCommand(Expression)

Ruft einen relationalen Befehl für einen Abfrageausdruck ab.

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

Parameter

queryExpression
Expression

Ein Abfrageausdruck, der im Befehlstext gedruckt werden soll.

Gibt zurück

Ein relationaler Befehl mit einer SQL-Instanz, die durch den Abfrageausdruck dargestellt wird.

Gilt für: