LikeExpression 构造函数

定义

创建 LikeExpression 类的新实例。

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)

参数

match
SqlExpression

对其应用 LIKE 的表达式。

pattern
SqlExpression

要搜索的模式。

escapeChar
SqlExpression

在 LIKE 中使用的可选转义字符。

typeMapping
RelationalTypeMapping

RelationalTypeMapping与表达式关联的 。

适用于