Condividi tramite


DbExpressionBuilder.Plus(DbExpression, DbExpression) Metodo

Definizione

Crea un nuovo oggetto DbArithmeticExpression che aggiunge l'argomento a sinistra all'argomento a destra.

public static System.Data.Entity.Core.Common.CommandTrees.DbArithmeticExpression Plus (this System.Data.Entity.Core.Common.CommandTrees.DbExpression left, System.Data.Entity.Core.Common.CommandTrees.DbExpression right);
static member Plus : System.Data.Entity.Core.Common.CommandTrees.DbExpression * System.Data.Entity.Core.Common.CommandTrees.DbExpression -> System.Data.Entity.Core.Common.CommandTrees.DbArithmeticExpression
<Extension()>
Public Function Plus (left As DbExpression, right As DbExpression) As DbArithmeticExpression

Parametri

left
DbExpression

Espressione che specifica l'argomento a sinistra.

right
DbExpression

Espressione che specifica l'argomento a destra.

Restituisce

Nuovo DbArithmeticExpression che rappresenta l'operazione di addizione.

Eccezioni

sinistra o destra è Null.

Nessun tipo di risultato numerico comune esiste tra sinistra e destra.

Si applica a