DbExpressionBuilder.Plus(DbExpression, DbExpression) 方法

定義

建立新的 DbArithmeticExpression,這個運算式會將左引數加入右引數。

public:
[System::Runtime::CompilerServices::Extension]
 static System::Data::Common::CommandTrees::DbArithmeticExpression ^ Plus(System::Data::Common::CommandTrees::DbExpression ^ left, System::Data::Common::CommandTrees::DbExpression ^ right);
public static System.Data.Common.CommandTrees.DbArithmeticExpression Plus (this System.Data.Common.CommandTrees.DbExpression left, System.Data.Common.CommandTrees.DbExpression right);
static member Plus : System.Data.Common.CommandTrees.DbExpression * System.Data.Common.CommandTrees.DbExpression -> System.Data.Common.CommandTrees.DbArithmeticExpression
<Extension()>
Public Function Plus (left As DbExpression, right As DbExpression) As DbArithmeticExpression

參數

left
DbExpression

指定左引數的運算式。

right
DbExpression

指定右引數的運算式。

傳回

表示其他作業的新 DbArithmeticExpression。

例外狀況

leftright 為 null。

leftright 之間,不存在一般數字結果型別。

適用於