Partilhar via


QuerySqlGenerator.VisitLike(LikeExpression) Method

Definition

Generates SQL for a LIKE expression.

protected override System.Linq.Expressions.Expression VisitLike (Microsoft.EntityFrameworkCore.Query.SqlExpressions.LikeExpression likeExpression);
protected override sealed System.Linq.Expressions.Expression VisitLike (Microsoft.EntityFrameworkCore.Query.SqlExpressions.LikeExpression likeExpression);
override this.VisitLike : Microsoft.EntityFrameworkCore.Query.SqlExpressions.LikeExpression -> System.Linq.Expressions.Expression
Protected Overrides Function VisitLike (likeExpression As LikeExpression) As Expression
Protected Overrides NotOverridable Function VisitLike (likeExpression As LikeExpression) As Expression

Parameters

likeExpression
LikeExpression

The LikeExpression for which to generate SQL.

Returns

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

Applies to