QuerySqlGenerator.VisitLike(LikeExpression) 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 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
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