Udostępnij przez


DbExpressionBuilder.Multiply(DbExpression, DbExpression) Metoda

Definicja

Tworzy nowy DbArithmeticExpression , który mnoży argument po lewej stronie przez prawy argument.

public static System.Data.Entity.Core.Common.CommandTrees.DbArithmeticExpression Multiply(this System.Data.Entity.Core.Common.CommandTrees.DbExpression left, System.Data.Entity.Core.Common.CommandTrees.DbExpression right);
static member Multiply : System.Data.Entity.Core.Common.CommandTrees.DbExpression * System.Data.Entity.Core.Common.CommandTrees.DbExpression -> System.Data.Entity.Core.Common.CommandTrees.DbArithmeticExpression
<Extension()>
Public Function Multiply (left As DbExpression, right As DbExpression) As DbArithmeticExpression

Parametry

left
DbExpression

Wyrażenie, które określa argument po lewej stronie.

right
DbExpression

Wyrażenie, które określa właściwy argument.

Zwraca

Nowa funkcja DbArithmeticExpression reprezentująca operację mnożenia.

Wyjątki

lewy lub prawy ma wartość null.

Między lewej i prawej nie istnieje żaden typowy typ wyniku liczbowego.

Dotyczy