Condividi tramite


DbExpressionBuilder.Divide(DbExpression, DbExpression) Metodo

Definizione

Crea un nuovo oggetto DbArithmeticExpression che divide l'argomento a sinistra per l'argomento a destra.

public static System.Data.Entity.Core.Common.CommandTrees.DbArithmeticExpression Divide (this System.Data.Entity.Core.Common.CommandTrees.DbExpression left, System.Data.Entity.Core.Common.CommandTrees.DbExpression right);
static member Divide : System.Data.Entity.Core.Common.CommandTrees.DbExpression * System.Data.Entity.Core.Common.CommandTrees.DbExpression -> System.Data.Entity.Core.Common.CommandTrees.DbArithmeticExpression
<Extension()>
Public Function Divide (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 divisione.

Eccezioni

sinistra o destra è Null.

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

Si applica a