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 が無効です。

適用対象