Udostępnij przez


DbExpressionBuilder.Plus(DbExpression, DbExpression) Metoda

Definicja

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

public static System.Data.Entity.Core.Common.CommandTrees.DbArithmeticExpression Plus(this System.Data.Entity.Core.Common.CommandTrees.DbExpression left, System.Data.Entity.Core.Common.CommandTrees.DbExpression right);
static member Plus : System.Data.Entity.Core.Common.CommandTrees.DbExpression * System.Data.Entity.Core.Common.CommandTrees.DbExpression -> System.Data.Entity.Core.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

lewa lub prawa ma wartość null.

Między lewą i prawą liczbą nie istnieje żaden wspólny typ wyniku liczbowego.

Dotyczy