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

定義

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

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

パラメーター

string1
DbExpression

連結結果の文字列の最初に出現する文字列を指定する式。

string2
DbExpression

連結結果の文字列の 2 番目に出現する文字列を指定する式。

戻り値

連結された文字列を生成する新しい DbFunctionExpression。

例外

string1 または string2null です。

string1 または string2 が無効です。

適用対象