DbExpressionBuilder.Divide(DbExpression, DbExpression) Méthode

Définition

Crée un nouvel DbArithmeticExpression argument qui divise l’argument gauche par l’argument de droite.

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

Paramètres

left
DbExpression

Expression qui spécifie l’argument gauche.

right
DbExpression

Expression qui spécifie l’argument approprié.

Retours

Nouvelle DbArithmeticExpression représentant l’opération de division.

Exceptions

left ou right a la valeur Null.

Aucun type de résultat numérique commun n’existe entre left ou right.

S’applique à