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

定義

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

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

パラメーター

stringArgument
DbExpression

文字列プレフィックスの先頭で検索される文字列を指定する式。

prefix
DbExpression

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

戻り値

stringArgument がプレフィックスで始まるかどうかを示すブール値を返す新しい DbFunctionExpression。

適用対象