DbExpressionBuilder.Like メソッド

定義

オーバーロード

Like(DbExpression, DbExpression)

指定された入力文字列と特定のパターンとを比較する新しい DbLikeExpression を作成します。

Like(DbExpression, DbExpression, DbExpression)

指定された入力文字列と特定のパターンとを、エスケープ (省略可能) を使用して比較する新しい DbLikeExpression を作成します。

Like(DbExpression, DbExpression)

指定された入力文字列と特定のパターンとを比較する新しい DbLikeExpression を作成します。

public static System.Data.Entity.Core.Common.CommandTrees.DbLikeExpression Like (this System.Data.Entity.Core.Common.CommandTrees.DbExpression argument, System.Data.Entity.Core.Common.CommandTrees.DbExpression pattern);
static member Like : System.Data.Entity.Core.Common.CommandTrees.DbExpression * System.Data.Entity.Core.Common.CommandTrees.DbExpression -> System.Data.Entity.Core.Common.CommandTrees.DbLikeExpression
<Extension()>
Public Function Like (argument As DbExpression, pattern As DbExpression) As DbLikeExpression

パラメーター

argument
DbExpression

入力文字列を指定する式。

pattern
DbExpression

パターン文字列を指定する式。

戻り値

指定された入力、パターン、および null エスケープを持つ新しい DbLikeExpression。

例外

引数またはパターンが null です。

引数またはパターンに文字列の結果型がありません。

適用対象

Like(DbExpression, DbExpression, DbExpression)

指定された入力文字列と特定のパターンとを、エスケープ (省略可能) を使用して比較する新しい DbLikeExpression を作成します。

public static System.Data.Entity.Core.Common.CommandTrees.DbLikeExpression Like (this System.Data.Entity.Core.Common.CommandTrees.DbExpression argument, System.Data.Entity.Core.Common.CommandTrees.DbExpression pattern, System.Data.Entity.Core.Common.CommandTrees.DbExpression escape);
static member Like : System.Data.Entity.Core.Common.CommandTrees.DbExpression * System.Data.Entity.Core.Common.CommandTrees.DbExpression * System.Data.Entity.Core.Common.CommandTrees.DbExpression -> System.Data.Entity.Core.Common.CommandTrees.DbLikeExpression
<Extension()>
Public Function Like (argument As DbExpression, pattern As DbExpression, escape As DbExpression) As DbLikeExpression

パラメーター

argument
DbExpression

入力文字列を指定する式。

pattern
DbExpression

パターン文字列を指定する式。

escape
DbExpression

エスケープ文字列を指定する式 (省略可能)。

戻り値

指定された入力、パターン、およびエスケープを持つ新しい DbLikeExpression。

例外

引数、パターン、またはエスケープが null です。

引数、パターン、またはエスケープには、文字列の結果の型がありません。

適用対象