Udostępnij za pośrednictwem


QuerySqlGenerator.GenerateLike(LikeExpression, Boolean) Method

Definition

Generates SQL for the LIKE expression.

protected virtual void GenerateLike (Microsoft.EntityFrameworkCore.Query.SqlExpressions.LikeExpression likeExpression, bool negated);
abstract member GenerateLike : Microsoft.EntityFrameworkCore.Query.SqlExpressions.LikeExpression * bool -> unit
override this.GenerateLike : Microsoft.EntityFrameworkCore.Query.SqlExpressions.LikeExpression * bool -> unit
Protected Overridable Sub GenerateLike (likeExpression As LikeExpression, negated As Boolean)

Parameters

likeExpression
LikeExpression

The LikeExpression for which to generate SQL.

negated
Boolean

Whether the given likeExpression is negated.

Applies to