다음을 통해 공유


QuerySqlGenerator.VisitSqlConstant(SqlConstantExpression) Method

Definition

Generates SQL for a constant.

protected override System.Linq.Expressions.Expression VisitSqlConstant (Microsoft.EntityFrameworkCore.Query.SqlExpressions.SqlConstantExpression sqlConstantExpression);
override this.VisitSqlConstant : Microsoft.EntityFrameworkCore.Query.SqlExpressions.SqlConstantExpression -> System.Linq.Expressions.Expression
Protected Overrides Function VisitSqlConstant (sqlConstantExpression As SqlConstantExpression) As Expression

Parameters

sqlConstantExpression
SqlConstantExpression

The SqlConstantExpression for which to generate SQL.

Returns

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

Applies to