DbExpressionBuilder.Divide(DbExpression, DbExpression) Metodo

Definizione

Crea un nuovo oggetto DbArithmeticExpression che divide l'argomento a sinistra per l'argomento a destra.Creates a new DbArithmeticExpression that divides the left argument by the right argument.

public:
[System::Runtime::CompilerServices::Extension]
 static System::Data::Common::CommandTrees::DbArithmeticExpression ^ Divide(System::Data::Common::CommandTrees::DbExpression ^ left, System::Data::Common::CommandTrees::DbExpression ^ right);
public static System.Data.Common.CommandTrees.DbArithmeticExpression Divide (this System.Data.Common.CommandTrees.DbExpression left, System.Data.Common.CommandTrees.DbExpression right);
static member Divide : System.Data.Common.CommandTrees.DbExpression * System.Data.Common.CommandTrees.DbExpression -> System.Data.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.An expression that specifies the left argument.

right
DbExpression

Espressione che specifica l'argomento a destra.An expression that specifies the right argument.

Restituisce

DbArithmeticExpression

Nuovo DbArithmeticExpression che rappresenta l'operazione di divisione.A new DbArithmeticExpression representing the division operation.

Eccezioni

left o right è null.left or right is null.

Non esiste alcun tipo di risultato numerico comune tra left o right.No common numeric result type exists between left or right.

Si applica a