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

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


DbExpressionBuilder.Negate(DbExpression) Method

Definition

Creates a new DbArithmeticExpression that negates the value of the argument.

C#
public static System.Data.Common.CommandTrees.DbArithmeticExpression Negate(this System.Data.Common.CommandTrees.DbExpression argument);

Parameters

argument
DbExpression

An expression that specifies the argument.

Returns

A new DbArithmeticExpression representing the negation operation.

Exceptions

argument is null.

No numeric result type exists for argument.

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