DbExpressionBuilder.Modulo(DbExpression, DbExpression) Méthode

Définition

Crée un nouvel DbArithmeticExpression argument qui calcule le reste de l’argument gauche divisé par l’argument de droite.

public:
[System::Runtime::CompilerServices::Extension]
 static System::Data::Common::CommandTrees::DbArithmeticExpression ^ Modulo(System::Data::Common::CommandTrees::DbExpression ^ left, System::Data::Common::CommandTrees::DbExpression ^ right);
public static System.Data.Common.CommandTrees.DbArithmeticExpression Modulo(this System.Data.Common.CommandTrees.DbExpression left, System.Data.Common.CommandTrees.DbExpression right);
static member Modulo : System.Data.Common.CommandTrees.DbExpression * System.Data.Common.CommandTrees.DbExpression -> System.Data.Common.CommandTrees.DbArithmeticExpression
<Extension()>
Public Function Modulo (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 modulo.

Exceptions

left ou right a la valeur Null.

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

S’applique à