DbExpressionBuilder.Plus(DbExpression, DbExpression) Metoda

Definicja

Tworzy nowy DbArithmeticExpression argument, który dodaje argument lewy do prawego argumentu.

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

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ę dodawania.

Wyjątki

left lub right ma wartość null.

Nie istnieje typ wspólnego wyniku liczbowego między left i right.

Dotyczy