DbExpressionBuilder.Except(DbExpression, DbExpression) Méthode

Définition

Crée un objet DbExceptExpression qui soustrait l'argument de droite du jeu de l'argument de gauche.

public:
[System::Runtime::CompilerServices::Extension]
 static System::Data::Common::CommandTrees::DbExceptExpression ^ Except(System::Data::Common::CommandTrees::DbExpression ^ left, System::Data::Common::CommandTrees::DbExpression ^ right);
public static System.Data.Common.CommandTrees.DbExceptExpression Except (this System.Data.Common.CommandTrees.DbExpression left, System.Data.Common.CommandTrees.DbExpression right);
static member Except : System.Data.Common.CommandTrees.DbExpression * System.Data.Common.CommandTrees.DbExpression -> System.Data.Common.CommandTrees.DbExceptExpression
<Extension()>
Public Function Except (left As DbExpression, right As DbExpression) As DbExceptExpression

Paramètres

left
DbExpression

Expression qui définit l'argument défini à gauche.

right
DbExpression

Expression qui définit l'argument défini à droite.

Retours

Nouvelle DbExceptExpression qui représente la différence de l'argument de gauche à partir de l'argument de droite.

Exceptions

left ou right est null.

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

S’applique à