DbExpressionBuilder.Intersect(DbExpression, DbExpression) Metodo

Definizione

Crea un nuovo oggetto DbIntersectExpression che calcola l'intersezione degli argomenti di 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 di set a sinistra.

right
DbExpression

Espressione che definisce l'argomento di set a destra.

Restituisce

Nuovo oggetto DbIntersectExpression che rappresenta l'intersezione degli argomenti a sinistra e a destra.

Eccezioni

left o right è null.

Non esiste alcun tipo di risultati della raccolta comune tra left o right.

Si applica a