Sdílet prostřednictvím


DbExpressionBuilder.Negate(DbExpression) Metoda

Definice

Vytvoří nový DbArithmeticExpression , který neguje hodnotu argumentu.

public static System.Data.Entity.Core.Common.CommandTrees.DbArithmeticExpression Negate (this System.Data.Entity.Core.Common.CommandTrees.DbExpression argument);
static member Negate : System.Data.Entity.Core.Common.CommandTrees.DbExpression -> System.Data.Entity.Core.Common.CommandTrees.DbArithmeticExpression
<Extension()>
Public Function Negate (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.

Pro argument neexistuje žádný číselný typ výsledku.

Platí pro