Share via


QuerySqlGenerator.VisitSqlUnary(SqlUnaryExpression) Method

Definition

Generates SQL for a unary expression.

protected override System.Linq.Expressions.Expression VisitSqlUnary (Microsoft.EntityFrameworkCore.Query.SqlExpressions.SqlUnaryExpression sqlUnaryExpression);
override this.VisitSqlUnary : Microsoft.EntityFrameworkCore.Query.SqlExpressions.SqlUnaryExpression -> System.Linq.Expressions.Expression
Protected Overrides Function VisitSqlUnary (sqlUnaryExpression As SqlUnaryExpression) As Expression

Parameters

sqlUnaryExpression
SqlUnaryExpression

The SqlUnaryExpression for which to generate SQL.

Returns

The modified expression, if it or any subexpression was modified; otherwise, returns the original expression.

Applies to