อ่านในภาษาอังกฤษ แก้ไข

แชร์ผ่าน


DbExpressionBuilder.UnaryMinus(DbExpression) Method

Definition

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

C#
public static System.Data.Common.CommandTrees.DbArithmeticExpression UnaryMinus(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