DbExpressionBuilder.Minus(DbExpression, DbExpression) Méthode

Définition

Crée un objet DbArithmeticExpression qui soustrait l'argument de droite de l'argument de gauche.

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

Exceptions

left ou right est null.

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

S’applique à