DbExpressionBuilder.Multiply(DbExpression, DbExpression) 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
會產生一個新 DbArithmeticExpression 進分,將左邊的參數乘以右邊的參數。
public:
[System::Runtime::CompilerServices::Extension]
static System::Data::Common::CommandTrees::DbArithmeticExpression ^ Multiply(System::Data::Common::CommandTrees::DbExpression ^ left, System::Data::Common::CommandTrees::DbExpression ^ right);
public static System.Data.Common.CommandTrees.DbArithmeticExpression Multiply(this System.Data.Common.CommandTrees.DbExpression left, System.Data.Common.CommandTrees.DbExpression right);
static member Multiply : System.Data.Common.CommandTrees.DbExpression * System.Data.Common.CommandTrees.DbExpression -> System.Data.Common.CommandTrees.DbArithmeticExpression
<Extension()>
Public Function Multiply (left As DbExpression, right As DbExpression) As DbArithmeticExpression
參數
- left
- DbExpression
一個明確表示左論點的表達式。
- right
- DbExpression
一個用來指定正確論點的表達式。
傳回
一個新的 DbArithmeticExpression,代表乘法運算。
例外狀況
left 或 right 為空值。
在 與 right之間不存在left常見的數值結果類型。