DbExpressionBuilder.UnaryMinus(DbExpression) Metoda

Definice

Vytvoří novou DbArithmeticExpression , která neguje hodnotu argumentu.

public:
[System::Runtime::CompilerServices::Extension]
 static System::Data::Common::CommandTrees::DbArithmeticExpression ^ UnaryMinus(System::Data::Common::CommandTrees::DbExpression ^ argument);
public static System.Data.Common.CommandTrees.DbArithmeticExpression UnaryMinus(this System.Data.Common.CommandTrees.DbExpression argument);
static member UnaryMinus : System.Data.Common.CommandTrees.DbExpression -> System.Data.Common.CommandTrees.DbArithmeticExpression
<Extension()>
Public Function UnaryMinus (argument As DbExpression) As DbArithmeticExpression

Parametry

argument
DbExpression

Výraz, který určuje argument.

Návraty

Nový DbArithmeticExpression představující operaci negace.

Výjimky

argument je null.

Neexistuje žádný číselný typ výsledku pro argument.

Platí pro