Share via


LikeExpression.Update(SqlExpression, SqlExpression, SqlExpression) Method

Definition

Creates a new expression that is like this one, but using the supplied children. If all of the children are the same, it will return this expression.

public virtual Microsoft.EntityFrameworkCore.Query.SqlExpressions.LikeExpression Update (Microsoft.EntityFrameworkCore.Query.SqlExpressions.SqlExpression match, Microsoft.EntityFrameworkCore.Query.SqlExpressions.SqlExpression pattern, Microsoft.EntityFrameworkCore.Query.SqlExpressions.SqlExpression escapeChar);
public virtual Microsoft.EntityFrameworkCore.Query.SqlExpressions.LikeExpression Update (Microsoft.EntityFrameworkCore.Query.SqlExpressions.SqlExpression match, Microsoft.EntityFrameworkCore.Query.SqlExpressions.SqlExpression pattern, Microsoft.EntityFrameworkCore.Query.SqlExpressions.SqlExpression? escapeChar);
abstract member Update : Microsoft.EntityFrameworkCore.Query.SqlExpressions.SqlExpression * Microsoft.EntityFrameworkCore.Query.SqlExpressions.SqlExpression * Microsoft.EntityFrameworkCore.Query.SqlExpressions.SqlExpression -> Microsoft.EntityFrameworkCore.Query.SqlExpressions.LikeExpression
override this.Update : Microsoft.EntityFrameworkCore.Query.SqlExpressions.SqlExpression * Microsoft.EntityFrameworkCore.Query.SqlExpressions.SqlExpression * Microsoft.EntityFrameworkCore.Query.SqlExpressions.SqlExpression -> Microsoft.EntityFrameworkCore.Query.SqlExpressions.LikeExpression
Public Overridable Function Update (match As SqlExpression, pattern As SqlExpression, escapeChar As SqlExpression) As LikeExpression

Parameters

match
SqlExpression

The Match property of the result.

pattern
SqlExpression

The Pattern property of the result.

escapeChar
SqlExpression

The EscapeChar property of the result.

Returns

This expression if no children changed, or an expression with the updated children.

Applies to