Rediger

Del via


DbExpressionBuilder.Multiply(DbExpression, DbExpression) Method

Definition

Creates a new DbArithmeticExpression that multiplies the left argument by the right argument.

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

Parameters

left
DbExpression

An expression that specifies the left argument.

right
DbExpression

An expression that specifies the right argument.

Returns

A new DbArithmeticExpression representing the multiplication operation.

Exceptions

left or right is null.

No common numeric result type exists between left and right.

Applies to