Partilhar via


QuerySqlGenerator.VisitSqlFragment(SqlFragmentExpression) Method

Definition

Generates SQL for an arbitrary fragment.

protected override System.Linq.Expressions.Expression VisitSqlFragment (Microsoft.EntityFrameworkCore.Query.SqlExpressions.SqlFragmentExpression sqlFragmentExpression);
override this.VisitSqlFragment : Microsoft.EntityFrameworkCore.Query.SqlExpressions.SqlFragmentExpression -> System.Linq.Expressions.Expression
Protected Overrides Function VisitSqlFragment (sqlFragmentExpression As SqlFragmentExpression) As Expression

Parameters

sqlFragmentExpression
SqlFragmentExpression

The SqlFragmentExpression for which to generate SQL.

Returns

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

Applies to