Condividi tramite


DbExpressionBuilder.Negate(DbExpression) Metodo

Definizione

Crea un nuovo oggetto DbArithmeticExpression che nega il valore dell'argomento.

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

Parametri

argument
DbExpression

Espressione che specifica l'argomento.

Restituisce

Nuovo DbArithmeticExpression che rappresenta l'operazione di negazione.

Eccezioni

l'argomento è Null.

Nessun tipo di risultato numerico esiste per l'argomento.

Si applica a