Compartir a través de


SqlExpressionFactory.Like(SqlExpression, SqlExpression, SqlExpression) Método

Definición

Crea un nuevo InExpression objeto que representa un like en un árbol sql.

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

Parámetros

match
SqlExpression

Expresión en la que se aplica LIKE.

pattern
SqlExpression

Un patrón que se va a buscar.

escapeChar
SqlExpression

Carácter de escape opcional que se va a usar en LIKE.

Devoluciones

Expresión que representa un LIKE en un árbol SQL.

Implementaciones

Se aplica a