EdmFunctions.EndsWith(DbExpression, DbExpression) メソッド

定義

指定された引数で正規の 'EndsWith' 関数を呼び出す DbFunctionExpression を作成します。指定する各引数の結果型は文字列である必要があります。 式の結果型は Boolean です。

public static System.Data.Entity.Core.Common.CommandTrees.DbFunctionExpression EndsWith (this System.Data.Entity.Core.Common.CommandTrees.DbExpression stringArgument, System.Data.Entity.Core.Common.CommandTrees.DbExpression suffix);
static member EndsWith : System.Data.Entity.Core.Common.CommandTrees.DbExpression * System.Data.Entity.Core.Common.CommandTrees.DbExpression -> System.Data.Entity.Core.Common.CommandTrees.DbFunctionExpression
<Extension()>
Public Function EndsWith (stringArgument As DbExpression, suffix As DbExpression) As DbFunctionExpression

パラメーター

stringArgument
DbExpression

末尾で文字列サフィックスを検索する文字列を指定する式。

suffix
DbExpression

stringArgument の末尾で検索されるターゲット文字列を指定する式。

戻り値

stringArgument がサフィックスで終わるかどうかを示すブール値を返す新しい DbFunctionExpression。

適用対象