Share via


LikeExpression Constructor

Definition

Creates a new instance of the LikeExpression class.

public LikeExpression (Microsoft.EntityFrameworkCore.Query.SqlExpressions.SqlExpression match, Microsoft.EntityFrameworkCore.Query.SqlExpressions.SqlExpression pattern, Microsoft.EntityFrameworkCore.Query.SqlExpressions.SqlExpression escapeChar, Microsoft.EntityFrameworkCore.Storage.RelationalTypeMapping typeMapping);
public LikeExpression (Microsoft.EntityFrameworkCore.Query.SqlExpressions.SqlExpression match, Microsoft.EntityFrameworkCore.Query.SqlExpressions.SqlExpression pattern, Microsoft.EntityFrameworkCore.Query.SqlExpressions.SqlExpression? escapeChar, Microsoft.EntityFrameworkCore.Storage.RelationalTypeMapping? typeMapping);
new Microsoft.EntityFrameworkCore.Query.SqlExpressions.LikeExpression : Microsoft.EntityFrameworkCore.Query.SqlExpressions.SqlExpression * Microsoft.EntityFrameworkCore.Query.SqlExpressions.SqlExpression * Microsoft.EntityFrameworkCore.Query.SqlExpressions.SqlExpression * Microsoft.EntityFrameworkCore.Storage.RelationalTypeMapping -> Microsoft.EntityFrameworkCore.Query.SqlExpressions.LikeExpression
Public Sub New (match As SqlExpression, pattern As SqlExpression, escapeChar As SqlExpression, typeMapping As RelationalTypeMapping)

Parameters

match
SqlExpression

An expression on which LIKE is applied.

pattern
SqlExpression

A pattern to search.

escapeChar
SqlExpression

An optional escape character to use in LIKE.

typeMapping
RelationalTypeMapping

The RelationalTypeMapping associated with the expression.

Applies to