DbExpressionBuilder.Intersect(DbExpression, DbExpression) Metodo

Definizione

Crea un nuovo DbIntersectExpression oggetto che calcola l'intersezione degli argomenti del set a sinistra e a destra.

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

Parametri

left
DbExpression

Espressione che definisce l'argomento del set di sinistra.

right
DbExpression

Espressione che definisce l'argomento set di destra.

Valori restituiti

Nuovo dbIntersectExpression che rappresenta l'intersezione degli argomenti sinistro e destro.

Eccezioni

left o right è null.

Nessun tipo di risultato di raccolta comune esiste tra left o right.

Si applica a