DbExpressionBuilder.Modulo(DbExpression, DbExpression) Méthode

Définition

Crée un objet DbArithmeticExpression qui calcule le reste de la division de l'argument de gauche 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 de gauche.

right
DbExpression

Expression qui spécifie l'argument de droite.

Retours

Nouvelle DbArithmeticExpression représentant le modulo.

Exceptions

left ou right est null.

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

S’applique à