DbExpressionBuilder.Plus(DbExpression, DbExpression) Metoda

Definicja

Tworzy nowy DbArithmeticExpression argument, który dodaje argument po lewej stronie do argumentu po prawej stronie.

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 określające argument po lewej stronie.

right
DbExpression

Wyrażenie określające właściwy argument.

Zwraca

Nowa operacja DbArithmeticExpression reprezentująca operację dodawania.

Wyjątki

left lub right ma wartość null.

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

Dotyczy