Share via


DbExpressionBuilder.Plus(DbExpression, DbExpression) Method

Definition

Creates a new DbArithmeticExpression that adds the left argument to the right argument.

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

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 addition operation.

Exceptions

left or right is null.

No common numeric result type exists between left and right.

Applies to