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

定義

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

public:
[System::Runtime::CompilerServices::Extension]
 static System::Data::Common::CommandTrees::DbFunctionExpression ^ StartsWith(System::Data::Common::CommandTrees::DbExpression ^ stringArgument, System::Data::Common::CommandTrees::DbExpression ^ prefix);
public static System.Data.Common.CommandTrees.DbFunctionExpression StartsWith (this System.Data.Common.CommandTrees.DbExpression stringArgument, System.Data.Common.CommandTrees.DbExpression prefix);
static member StartsWith : System.Data.Common.CommandTrees.DbExpression * System.Data.Common.CommandTrees.DbExpression -> System.Data.Common.CommandTrees.DbFunctionExpression
<Extension()>
Public Function StartsWith (stringArgument As DbExpression, prefix As DbExpression) As DbFunctionExpression

パラメーター

stringArgument
DbExpression

文字列 の先頭で検索される文字列 prefixを指定する式。

prefix
DbExpression

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

戻り値

で始まるprefixかどうかをstringArgument示すブール値を返す新しい DbFunctionExpression。

適用対象