QuerySqlGenerator.VisitSqlConstant(SqlConstantExpression) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.
Entity Framework