DbExpressionBuilder.Intersect(DbExpression, DbExpression) Méthode

Définition

Crée un objet DbIntersectExpression qui calcule l'intersection des arguments de gauche et de droite du jeu.

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

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 DbIntersectExpression qui représente l'intersection des arguments de gauche et de droite.

Exceptions

left ou right est null.

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

S’applique à