共用方式為


EdmFunctions.Concat(DbExpression, DbExpression) 方法

定義

建立會使用指定引數叫用標準 'Concat' 函式的 DbFunctionExpression,其中的引數都必須具有字串結果型別。 運算式的結果類型為字串。

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

參數

string1
DbExpression

運算式,指定出現在串連結果字串中的第一個字串。

string2
DbExpression

運算式,指定出現在串連結果字串中的第二個字串。

傳回

新的 DbFunctionExpression,會產生串連的字串。

適用於