Прочетете на английски Редактиране

Споделяне чрез


DbExpressionBuilder.Plus(DbExpression, DbExpression) Method

Definition

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

C#
public static System.Data.Common.CommandTrees.DbArithmeticExpression Plus(this System.Data.Common.CommandTrees.DbExpression left, System.Data.Common.CommandTrees.DbExpression right);

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

Продукт Версии
.NET Framework 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1