Share via


QuerySqlGenerator.GetCommand Method

Definition

Overloads

GetCommand(SelectExpression)

Gets a relational command for a SelectExpression.

GetCommand(Expression)

Gets a relational command for a query expression.

GetCommand(SelectExpression)

Gets a relational command for a 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

Parameters

selectExpression
SelectExpression

A select expression to print in command text.

Returns

A relational command with a SQL represented by the select expression.

Applies to

GetCommand(Expression)

Gets a relational command for a query expression.

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

Parameters

queryExpression
Expression

A query expression to print in command text.

Returns

A relational command with a SQL represented by the query expression.

Applies to