DbExpressionBuilder.Plus(DbExpression, DbExpression) Méthode

Définition

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

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

Exceptions

left ou right est null.

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

S’applique à